diff options
author | Haiying Wang <Haiying.Wang@freescale.com> | 2008-10-31 05:06:14 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-10-31 13:14:30 -0500 |
commit | 6fc110bd8a8d642b8f7b0653bd9a08a0b7c3d50b (patch) | |
tree | fb68fbeaea35379d93d0557672ae70fb9addd816 /include/configs | |
parent | 7c84fe6a06dad9f793ed85b39b1e6c11a7882f5c (diff) | |
download | u-boot-imx-6fc110bd8a8d642b8f7b0653bd9a08a0b7c3d50b.zip u-boot-imx-6fc110bd8a8d642b8f7b0653bd9a08a0b7c3d50b.tar.gz u-boot-imx-6fc110bd8a8d642b8f7b0653bd9a08a0b7c3d50b.tar.bz2 |
NAND: Fix CONFIG_ENV_ADDR for MPC8572DS
CONFIG_ENV_ADDR should be (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE).
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/MPC8572DS.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h index f98e7fb..244ecc2 100644 --- a/include/configs/MPC8572DS.h +++ b/include/configs/MPC8572DS.h @@ -509,7 +509,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); #if CONFIG_SYS_MONITOR_BASE > 0xfff80000 #define CONFIG_ENV_ADDR 0xfff80000 #else -#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SIZE) +#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) #endif #define CONFIG_ENV_SIZE 0x2000 #define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K (one sector) */ |