Skip to content
Snippets Groups Projects
Commit b899fa39 authored by Bo Shen's avatar Bo Shen Committed by Tom Rini
Browse files

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: default avatarBo Shen <voice.shen@atmel.com>
Acked-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent fdf86c20
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment