diff options
author | York Sun <york.sun@nxp.com> | 2017-06-07 17:12:56 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-06-12 19:18:37 (GMT) |
commit | 109f5a21913b6c358e87ae371c76db05a52e9491 (patch) | |
tree | 5d54bfe72ea8575d630c1de3803f9f178828656e /include/configs | |
parent | bd44dded02c019f9394fde243c284d39db33146d (diff) | |
download | u-boot-fsl-qoriq-109f5a21913b6c358e87ae371c76db05a52e9491.tar.xz |
powerpc: mpc8544ds: Fix environmental variable location
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/MPC8544DS.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h index 9b2f836..3b62449 100644 --- a/include/configs/MPC8544DS.h +++ b/include/configs/MPC8544DS.h @@ -326,13 +326,13 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); * Environment */ #define CONFIG_ENV_IS_IN_FLASH 1 +#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64K (one sector) */ #if CONFIG_SYS_MONITOR_BASE > 0xfff80000 #define CONFIG_ENV_ADDR 0xfff80000 #else -#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE + 0x70000) +#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) #endif #define CONFIG_ENV_SIZE 0x2000 -#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64K (one sector) */ #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */ #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */ |