[U-Boot] [PATCH] tam3517: fix NAND detection

Gupta, Pekon pekon at ti.com
Mon Jun 2 08:16:44 CEST 2014


>From: Jeroen Hofstee
>
>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 at denx.de>
>Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
>---
> include/configs/tam3517-common.h | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
>index 3522c1a..bd117d5 100644
>--- a/include/configs/tam3517-common.h
>+++ b/include/configs/tam3517-common.h
>@@ -185,6 +185,7 @@
> /* Configure the PISMO */
> #define PISMO1_NAND_SIZE		GPMC_SIZE_128M
>
>+#define CONFIG_NAND

You should not add CONFIG_NAND directly to include/configs/...
instead this should come from board profiles defined in boards.cfg
refer am335x_evm or description given in header of boards.cfg


with regards, pekon


More information about the U-Boot mailing list