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/iocon.h | |
parent | 3284c8b8cad9452bf0711f52699bc9a5aeb83319 (diff) | |
download | u-boot-627b73e2a79524836b1e933e37e014210ccb80a4.zip u-boot-627b73e2a79524836b1e933e37e014210ccb80a4.tar.gz u-boot-627b73e2a79524836b1e933e37e014210ccb80a4.tar.bz2 |
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/iocon.h')
-rw-r--r-- | include/configs/iocon.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/iocon.h b/include/configs/iocon.h index d34b91d..f36c2a3 100644 --- a/include/configs/iocon.h +++ b/include/configs/iocon.h @@ -238,9 +238,8 @@ int fpga_gpio_get(unsigned int bus, int pin); #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 /* |