]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
tam3517: fix NAND detection
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sat, 31 May 2014 15:08:30 +0000 (17:08 +0200)
committerTom Rini <trini@ti.com>
Fri, 6 Jun 2014 21:46:15 +0000 (17:46 -0400)
commit a0a37183bd7 "ARM: omap: merge GPMC initialization code for
all platform" needs CONFIG_NOR, CONFIG_NAND or CONFIG_CMD_ONENAND
to be set to access flash. Add CONFIG_NAND for tam3517 derived
boards to prevent the following error: "nand: error: Unable to
find NAND settings in GPMC Configuration - quitting"

cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
include/configs/tam3517-common.h

index eda536b8661c5943629ab1960437c74e86b7c243..0c2f0f19c827f133e99066304d32f60fccc431ec 100644 (file)
 /* Configure the PISMO */
 #define PISMO1_NAND_SIZE               GPMC_SIZE_128M
 
+#define CONFIG_NAND
 #define CONFIG_NAND_OMAP_GPMC
 #define CONFIG_ENV_IS_IN_NAND
 #define SMNAND_ENV_OFFSET              0x180000 /* environment starts here */