diff options
author | York Sun <york.sun@nxp.com> | 2016-04-06 20:22:10 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-04-08 22:41:43 (GMT) |
commit | b39d1213e30717c435c8ed43411d573d435557cb (patch) | |
tree | d0c4194127a0b98839d410e93b4c1c6e397b013a /include/configs/o2dnt-common.h | |
parent | 4c1ceb6954d3e2defabe5633567ad1335f2ac730 (diff) | |
download | u-boot-b39d1213e30717c435c8ed43411d573d435557cb.tar.xz |
powerpc: Replace CONFIG_SYS_INIT_RAM_END with CONFIG_SYS_INIT_RAM_SIZE
CONFIG_SYS_INIT_RAM_SIZE may be used out of the board header file.
Some boards use CONFIG_SYS_INIT_RAM_END for the same purpose. To
unify the macros, use CONFIG_SYS_INIT_RAM_SIZE for all.
Signed-off-by: York Sun <york.sun@nxp.com>
CC: Mario Six <mario.six@gdsys.cc>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/configs/o2dnt-common.h')
-rw-r--r-- | include/configs/o2dnt-common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/o2dnt-common.h b/include/configs/o2dnt-common.h index 73a44a7..4ffab8a 100644 --- a/include/configs/o2dnt-common.h +++ b/include/configs/o2dnt-common.h @@ -253,13 +253,13 @@ #define CONFIG_SYS_INIT_RAM_ADDR MPC5XXX_SRAM #ifdef CONFIG_POST /* preserve space for the post_word at end of on-chip SRAM */ -#define CONFIG_SYS_INIT_RAM_END MPC5XXX_SRAM_POST_SIZE +#define CONFIG_SYS_INIT_RAM_SIZE MPC5XXX_SRAM_POST_SIZE #else /* End of used area in DPRAM */ -#define CONFIG_SYS_INIT_RAM_END MPC5XXX_SRAM_SIZE +#define CONFIG_SYS_INIT_RAM_SIZE MPC5XXX_SRAM_SIZE #endif -#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - \ +#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) #define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET |