]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
TI: armv7: Move ELM support to SoC configuration file.
authorEnric Balletbò i Serra <eballetbo@gmail.com>
Fri, 6 Dec 2013 20:30:20 +0000 (21:30 +0100)
committerTom Rini <trini@ti.com>
Fri, 24 Jan 2014 16:38:39 +0000 (11:38 -0500)
The ELM hardware engine wihich is used for ECC error detections is not present
on OMAP3 SoC, so move the CONFIG_SPL_NAND_AM33XX_BCH from ti_armv7_common.h to
SoC configuration file.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/ti_am335x_common.h
include/configs/ti_armv7_common.h
include/configs/ti_omap4_common.h
include/configs/ti_omap5_common.h

index 4364eef7ba82e00a7b068a036262398a8efefcf1..91f97dd0610f1d492c22685fcb110fe7b19d3698 100644 (file)
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #endif
 
+#ifdef CONFIG_NAND
+#define CONFIG_SPL_NAND_AM33XX_BCH     /* ELM support */
+#endif
+
 /* Now bring in the rest of the common code. */
 #include <configs/ti_armv7_common.h>
 
index 99b60fcf6155c5ee5b335ab3090780d100ec1d8d..f4e42eff13b01be4743015be2d6636471b368348 100644 (file)
 #define CONFIG_SPL_BOARD_INIT
 
 #ifdef CONFIG_NAND
-#define CONFIG_SPL_NAND_AM33XX_BCH     /* OMAP4 and later ELM support */
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS
index b625c491eba07307276cc574bd2fb31658581386..2f0e4c0f67d5a7de491996f4871c7e9d51a21d97 100644 (file)
 #define CONFIG_SPL_DISPLAY_PRINT
 #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
 
+#ifdef CONFIG_NAND
+#define CONFIG_SPL_NAND_AM33XX_BCH     /* ELM support */
+#endif
+
 #endif /* __CONFIG_TI_OMAP4_COMMON_H */
index 4f34dcf0f25f08bcf0e4d80f8b4105bda6fd6036..7b10fbd28acf8b2c127cb8997f6af0d304bce2a2 100644 (file)
 #define CONFIG_SPL_DISPLAY_PRINT
 #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
 
+#ifdef CONFIG_NAND
+#define CONFIG_SPL_NAND_AM33XX_BCH     /* ELM support */
+#endif
+
 #endif /* __CONFIG_TI_OMAP5_COMMON_H */