]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
devkit8000: Fix NAND SPL on boards with 256MB NAND
authorTom Rini <trini@ti.com>
Wed, 9 Nov 2011 21:40:04 +0000 (16:40 -0500)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 10 Nov 2011 15:30:40 +0000 (16:30 +0100)
The devkit8000 ships with either a 128MB or 256MB NAND chip.  In
order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE
needs to be set.  After talking with Scott Wood this should be
safe to set even for smaller NAND chips.

Cc: Scott Wood <scottwood@freescale.com>
Cc: Frederik Kriewitz <frederik@kriewitz.eu>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/devkit8000.h

index 6c51a274750aeb16be539c343d0f8ac7fb0f7f61..e1743dc5eeb766202942849159e8fc868d4a3bbf 100644 (file)
 #define CONFIG_SPL_BSS_MAX_SIZE                0x80000
 
 /* NAND boot config */
+#define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT     64
 #define CONFIG_SYS_NAND_PAGE_SIZE      2048
 #define CONFIG_SYS_NAND_OOBSIZE                64