summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9x5ek/at91sam9x5ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9x5ek/at91sam9x5ek.c')
-rw-r--r--board/atmel/at91sam9x5ek/at91sam9x5ek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
index 17db0fd..88b3478 100644
--- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c
+++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
@@ -60,6 +60,8 @@ static void at91sam9x5ek_nand_hw_init(void)
/* Enable CS3 */
csa = readl(&matrix->ebicsa);
csa |= AT91_MATRIX_EBI_CS3A_SMC_SMARTMEDIA;
+ /* NAND flash on D16 */
+ csa |= AT91_MATRIX_NFD0_ON_D16;
writel(csa, &matrix->ebicsa);
/* Configure SMC CS3 for NAND/SmartMedia */