From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Weber Date: Tue, 08 Nov 2011 21:53:21 +0100 Subject: [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND In-Reply-To: <1319652551-31573-1-git-send-email-trini@ti.com> References: <1319652551-31573-1-git-send-email-trini@ti.com> Message-ID: <4EB996C1.8020008@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 26.10.2011 20:09, schrieb Tom Rini: > 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 > --- > include/configs/devkit8000.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h > index ba0d23e..1856aa9 100644 > --- a/include/configs/devkit8000.h > +++ b/include/configs/devkit8000.h > @@ -332,6 +332,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 Tested-by: Thomas Weber on Devkit8000 with 256 MB NAND. Tomorrow I will test it with a 128 MB NAND devkit8000. Thomas