MX51: vision2: Fix build for vision2 board.
[oweals/u-boot.git] / include / configs / ibf-dsp561.h
index f3d6c8bc7b18a99fac96464bc90de9641dcd5836..055f8a0f4ec8d588d5e934c73c1c9504ea562f65 100644 (file)
@@ -80,8 +80,8 @@
 #define CONFIG_SYS_MAX_FLASH_SECT      135     /* max number of sectors on one chip */
 /* The BF561-EZKIT uses a top boot flash */
 #define CONFIG_ENV_IS_IN_FLASH 1
-#define CONFIG_ENV_ADDR                0x20004000
-#define CONFIG_ENV_OFFSET              (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE)
+#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 */
 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)