bfin: make env offset sector aligned for bct-brettl2 and ibf-dsp561 boards
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 16 Jan 2015 04:52:59 +0000 (12:52 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Fri, 16 Jan 2015 05:31:35 +0000 (13:31 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
include/configs/bct-brettl2.h
include/configs/ibf-dsp561.h

index 39982ef..2e0e922 100644 (file)
@@ -97,7 +97,7 @@
 #define CONFIG_ENV_IS_IN_FLASH 1
 #define CONFIG_ENV_OFFSET      0x4000
 #define CONFIG_ENV_SIZE                0x2000
-#define CONFIG_ENV_SECT_SIZE   0x10000
+#define CONFIG_ENV_SECT_SIZE   0x12000
 
 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
 #define ENV_IS_EMBEDDED
index ac5ca9a..2a937c6 100644 (file)
@@ -82,7 +82,7 @@
 #define CONFIG_ENV_OFFSET              0x4000
 #define CONFIG_ENV_ADDR                (CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET)
 #define CONFIG_ENV_SIZE                0x2000
-#define CONFIG_ENV_SECT_SIZE   0x10000 /* Total Size of Environment Sector */
+#define CONFIG_ENV_SECT_SIZE   0x12000 /* Total Size of Environment Sector */
 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
 #define ENV_IS_EMBEDDED
 #else