summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9260ek/at91sam9260ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9260ek/at91sam9260ek.c')
-rw-r--r--board/atmel/at91sam9260ek/at91sam9260ek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c
index c10ad72534..ed4736027c 100644
--- a/board/atmel/at91sam9260ek/at91sam9260ek.c
+++ b/board/atmel/at91sam9260ek/at91sam9260ek.c
@@ -160,7 +160,7 @@ int board_init(void)
at91sam9260ek_nand_hw_init();
#endif
#ifdef CONFIG_HAS_DATAFLASH
- at91_spi0_hw_init((1 << 0) || (1 << 1));
+ at91_spi0_hw_init((1 << 0) | (1 << 1));
#endif
#ifdef CONFIG_MACB
at91sam9260ek_macb_hw_init();