]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
TI:omap5: Move CONFIG_ENV_SIZE to board config files
authorTom Rini <trini@ti.com>
Thu, 3 Apr 2014 11:52:52 +0000 (07:52 -0400)
committerTom Rini <trini@ti.com>
Thu, 17 Apr 2014 18:39:54 +0000 (14:39 -0400)
The size of the environment depends on the backing store, move this to
the board config files.

Signed-off-by: Tom Rini <trini@ti.com>
include/configs/dra7xx_evm.h
include/configs/omap5_uevm.h
include/configs/ti_omap5_common.h

index 291c538a3466908e58423747a1bfde651048eb8b..99be52b28722e6d033dc54b54efbf2b16692c131 100644 (file)
@@ -17,6 +17,7 @@
 /* MMC ENV related defines */
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         1       /* SLOT2: eMMC(1) */
+#define CONFIG_ENV_SIZE                        (128 << 10)
 #define CONFIG_ENV_OFFSET              0xE0000
 #define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
index 783b7c3e32999a11f03bf63152f3c802c29ae17a..7e2ecd53f52d67634bc85de411f3895992e21326 100644 (file)
@@ -26,6 +26,7 @@
 /* MMC ENV related defines */
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         1       /* SLOT2: eMMC(1) */
+#define CONFIG_ENV_SIZE                        (128 << 10)
 #define CONFIG_ENV_OFFSET              0xE0000
 #define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
index 2443d559346fa20c316b4c814a5ec4b44e10aec3..642ca0a73548f9616cbe236ef6a157b728979c7a 100644 (file)
@@ -46,8 +46,6 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/omap.h>
 
-#define CONFIG_ENV_SIZE                        (128 << 10)
-
 #include <configs/ti_armv7_common.h>
 
 /*