diff options
author | David Ungar <david.ungar@timesys.com> | 2010-10-11 14:23:20 -0400 |
---|---|---|
committer | David Ungar <david.ungar@timesys.com> | 2010-10-11 14:23:20 -0400 |
commit | 4df97e84d1436d3cbaac610a8139e64f31de3883 (patch) | |
tree | 6ed1611a751dfc00ba39ebac0d4e377e6d0dc02b /include/configs | |
parent | a1b30934acaf13cab1147d7955c9487d179c5cf0 (diff) |
Add redundant environment
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/omap3_logic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 6033526dcf5..1599eeea287 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -64,8 +64,6 @@ /* * Size of malloc() pool */ -#define CONFIG_ENV_SIZE SZ_128K /* Total Size Environment */ - /* Sector */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_128K) #define CONFIG_SYS_GBL_DATA_SIZE 128 /* bytes reserved for */ /* initial data */ @@ -324,7 +322,9 @@ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE #define CONFIG_ENV_IS_IN_NAND 1 -#define SMNAND_ENV_OFFSET 0xffe0000 /* environment starts here */ +#define CONFIG_ENV_SIZE SZ_128K /* Total Size Environment */ +#define CONFIG_ENV_RANGE (CONFIG_ENV_SIZE * 2) /* Total Size Environment */ +#define SMNAND_ENV_OFFSET (SZ_256M - CONFIG_ENV_RANGE) /* environment starts here */ #define CONFIG_SYS_ENV_SECT_SIZE boot_flash_sec #define CONFIG_ENV_OFFSET boot_flash_off |