summaryrefslogtreecommitdiff
path: root/include/configs/MPC8572DS.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-11-01 16:18:43 +0100
committerWolfgang Denk <wd@denx.de>2008-11-01 16:18:43 +0100
commit3ec53148eb68ddfb0c3311fb4c06cd2bd0ef3eeb (patch)
tree2f780547f462895413e6e26dd6e331824bed35f0 /include/configs/MPC8572DS.h
parentb24ef56587a2a9295de55e526a365e6af3ab2581 (diff)
parenta47f957ab523019992fdef857af01bd71c58a4da (diff)
downloadu-boot-imx-3ec53148eb68ddfb0c3311fb4c06cd2bd0ef3eeb.zip
u-boot-imx-3ec53148eb68ddfb0c3311fb4c06cd2bd0ef3eeb.tar.gz
u-boot-imx-3ec53148eb68ddfb0c3311fb4c06cd2bd0ef3eeb.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'include/configs/MPC8572DS.h')
-rw-r--r--include/configs/MPC8572DS.h2
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) */