From c471ccb967508d579a4c0f0bff26fae4e7ab063e Mon Sep 17 00:00:00 2001 From: Tom Rini <trini@ti.com> Date: Wed, 9 Nov 2011 16:40:04 -0500 Subject: [PATCH] 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> --- include/configs/devkit8000.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 6c51a274750..e1743dc5eeb 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 -- GitLab