summaryrefslogtreecommitdiffstats
path: root/include/configs/iocon.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-07 09:23:03 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:10:05 -0500
commit627b73e2a79524836b1e933e37e014210ccb80a4 (patch)
tree33c32448ee6006a4e4917552e3fe8e92379e82c4 /include/configs/iocon.h
parent3284c8b8cad9452bf0711f52699bc9a5aeb83319 (diff)
downloadblackbird-obmc-uboot-627b73e2a79524836b1e933e37e014210ccb80a4.tar.gz
blackbird-obmc-uboot-627b73e2a79524836b1e933e37e014210ccb80a4.zip
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index d34b91dfde..f36c2a3504 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
/*
OpenPOWER on IntegriCloud