summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2011-11-09 16:40:04 -0500
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-10 16:30:40 +0100
commitc471ccb967508d579a4c0f0bff26fae4e7ab063e (patch)
tree744768c4917ef47348fd608c186b84fdaf6a883d
parent1dc26801a3ef15ea2d32387c725293ecfcb08efa (diff)
downloadu-boot-imx-c471ccb967508d579a4c0f0bff26fae4e7ab063e.zip
u-boot-imx-c471ccb967508d579a4c0f0bff26fae4e7ab063e.tar.gz
u-boot-imx-c471ccb967508d579a4c0f0bff26fae4e7ab063e.tar.bz2
devkit8000: Fix NAND SPL on boards with 256MB NAND
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>
-rw-r--r--include/configs/devkit8000.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 6c51a27..e1743dc 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -337,6 +337,7 @@
#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