summaryrefslogtreecommitdiff
path: root/include/configs/smdk2400.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/smdk2400.h')
-rw-r--r--include/configs/smdk2400.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/configs/smdk2400.h b/include/configs/smdk2400.h
index c60e74607cf..d0ad65ef2c9 100644
--- a/include/configs/smdk2400.h
+++ b/include/configs/smdk2400.h
@@ -162,10 +162,7 @@
#define PHYS_SDRAM_1 0x0c000000 /* SDRAM Bank #1 */
#define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB */
-#define PHYS_FLASH_1 0x00000000 /* Flash Bank #1 */
-#define PHYS_FLASH_SIZE 0x00800000 /* 8 MB */
-
-#define CFG_FLASH_BASE PHYS_FLASH_1
+#define CFG_FLASH_BASE 0x00000000 /* Flash Bank #1 */
/*-----------------------------------------------------------------------
* FLASH and environment organization
@@ -180,7 +177,7 @@
#define CFG_ENV_IS_IN_FLASH 1
/* Address and size of Primary Environment Sector */
-#define CFG_ENV_ADDR (PHYS_FLASH_1 + 0x40000)
+#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x40000)
#define CFG_ENV_SIZE 0x40000
/* Address and size of Redundant Environment Sector */