projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4faed
)
arm : at91sam9x5 : fix a small bug for NAND
author
Bo Shen
<voice.shen@atmel.com>
Wed, 15 Aug 2012 18:44:27 +0000
(18:44 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 15:06:13 +0000
(17:06 +0200)
fix a bug:
when not boot from NAND, the NAND flash can not be detected.
Using this to fix it
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
board/atmel/at91sam9x5ek/at91sam9x5ek.c
patch
|
blob
|
history
diff --git
a/board/atmel/at91sam9x5ek/at91sam9x5ek.c
b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
index 17db0fd513b22300538c640d0c969024bbb5d74d..88b3478aaf45ef95a7fdd4ec35c6e20febd1d969 100644
(file)
--- 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 */