diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-07 09:23:03 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 11:10:05 -0500 |
commit | 627b73e2a79524836b1e933e37e014210ccb80a4 (patch) | |
tree | 33c32448ee6006a4e4917552e3fe8e92379e82c4 /include/configs/io.h | |
parent | 3284c8b8cad9452bf0711f52699bc9a5aeb83319 (diff) | |
download | u-boot-627b73e2a79524836b1e933e37e014210ccb80a4.tar.gz |
configs: Delete obsolete macro, CONFIG_SYS_GBL_DATA_SIZE
CONFIG_SYS_GBL_DATA_SIZE is not used any more.
The size of struct "global_data" is automatically calculated
by asm-offsets. (See lib/asm-offsets.c)
GENERATED_GBL_DATA_SIZE should be used instead of
CONFIG_SYS_GBL_DATA_SIZE.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include/configs/io.h')
-rw-r--r-- | include/configs/io.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/io.h b/include/configs/io.h index 7f86767e94..9da6cc6855 100644 --- a/include/configs/io.h +++ b/include/configs/io.h @@ -198,9 +198,8 @@ #define CONFIG_SYS_INIT_RAM_ADDR CONFIG_SYS_OCM_DATA_ADDR /* in SDRAM */ #define CONFIG_SYS_INIT_RAM_END CONFIG_SYS_OCM_DATA_SIZE /* End of used area */ -#define CONFIG_SYS_GBL_DATA_SIZE 128 /* size/bytes res'd for init data*/ #define CONFIG_SYS_GBL_DATA_OFFSET \ - (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE) + (CONFIG_SYS_INIT_RAM_END - GENERATED_GBL_DATA_SIZE) #define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET /* |