diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-07-17 17:14:17 +0800 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-22 08:20:14 -0400 |
commit | b899fa39019c8fecb508f747525dd8c22622e804 (patch) | |
tree | 01cf4a10d54286e805b1d375cef74427e7c62136 | |
parent | fdf86c202c17adfc6f6313dc35f685b1d22b8125 (diff) | |
download | u-boot-imx-b899fa39019c8fecb508f747525dd8c22622e804.zip u-boot-imx-b899fa39019c8fecb508f747525dd8c22622e804.tar.gz u-boot-imx-b899fa39019c8fecb508f747525dd8c22622e804.tar.bz2 |
arm: at91sam9n12: change EBI IO to high drive mode
As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12
and share the lower 8 bits data line. If use low drive of the data
line, it will cause DDR data access corrupt in lower address, so
change the data line to high drive mode
This will fix the Linux kernel boot issue when use Lower address
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
-rw-r--r-- | board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c index 3013a42..66c4c1f 100644 --- a/board/atmel/at91sam9n12ek/at91sam9n12ek.c +++ b/board/atmel/at91sam9n12ek/at91sam9n12ek.c @@ -59,7 +59,7 @@ static void at91sam9n12ek_nand_hw_init(void) /* Configure databus */ csa &= ~AT91_MATRIX_NFD0_ON_D16; /* nandflash connect to D0~D15 */ /* Configure IO drive */ - csa &= ~AT91_MATRIX_EBI_EBI_IOSR_NORMAL; + csa |= AT91_MATRIX_EBI_EBI_IOSR_NORMAL; writel(csa, &matrix->ebicsa); |