From: Tom Rini Date: Wed, 9 Nov 2011 21:40:04 +0000 (-0500) Subject: devkit8000: Fix NAND SPL on boards with 256MB NAND X-Git-Tag: v2011.12-rc1~220^2^2~45 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c471ccb967508d579a4c0f0bff26fae4e7ab063e;p=oweals%2Fu-boot.git 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 Cc: Frederik Kriewitz Cc: Albert ARIBAUD Signed-off-by: Tom Rini Signed-off-by: Sandeep Paulraj --- diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 6c51a27475..e1743dc5ee 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