summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-11-05 14:55:31 -0600
committerJon Loeliger <jdl@freescale.com>2008-11-10 10:10:02 -0600
commit0f2d66027bfc60dc7eea2f096af8891988c5abe4 (patch)
treee21a2e4557ef10ed3651da76f71be8f792f66c47 /include/configs
parent24bfb48c35fed6ad1f047e3e4a27df302482cd93 (diff)
downloadu-boot-imx-0f2d66027bfc60dc7eea2f096af8891988c5abe4.zip
u-boot-imx-0f2d66027bfc60dc7eea2f096af8891988c5abe4.tar.gz
u-boot-imx-0f2d66027bfc60dc7eea2f096af8891988c5abe4.tar.bz2
mpc8641: only define CONFIG_ENV_SIZE once
It's currently defined twice inside in an if/else block, but both halves set the same value. Move the define outside the if. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/MPC8641HPCN.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 779e9a8..8c85881 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -522,12 +522,11 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_ENV_IS_IN_FLASH 1
#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE + 0x60000)
#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64K(one sector) for env */
- #define CONFIG_ENV_SIZE 0x2000
#else
#define CONFIG_ENV_IS_NOWHERE 1 /* Store ENV in memory only */
#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - 0x1000)
- #define CONFIG_ENV_SIZE 0x2000
#endif
+#define CONFIG_ENV_SIZE 0x2000
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */