]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: Stop using CONFIG_SYS_GBL_DATA_OFFSET
authorTom Rini <trini@konsulko.com>
Tue, 24 May 2022 17:23:40 +0000 (13:23 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 16:09:12 +0000 (12:09 -0400)
This value is only referenced by PowerPC code in a way other than
directly as CONFIG_SYS_INIT_SP_ADDR.  Switch to CONFIG_SYS_INIT_SP_ADDR
directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/integrator-common.h
include/configs/vexpress_common.h

index d578b02460518b24b84e454a152f07788242b538..927daa71ad18168abd2cb655537d42c3ff518115 100644 (file)
 #define PHYS_SDRAM_1_SIZE      0x08000000      /* 128 MB */
 #define CONFIG_SYS_SDRAM_BASE  PHYS_SDRAM_1
 #define CONFIG_SYS_INIT_RAM_SIZE PHYS_SDRAM_1_SIZE
-#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_SDRAM_BASE + \
+#define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_SDRAM_BASE + \
                                    CONFIG_SYS_INIT_RAM_SIZE - \
                                    GENERATED_GBL_DATA_SIZE)
-#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_GBL_DATA_OFFSET
 
 /*
  * FLASH and environment organization
index f27280af99ef65f1436e0b76bbd3dfa48d66fe1b..86cb56e7a18920d845749912f089b15c4b3386c5 100644 (file)
 /* additions for new relocation code */
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
 #define CONFIG_SYS_INIT_RAM_SIZE               0x1000
-#define CONFIG_SYS_GBL_DATA_OFFSET     (CONFIG_SYS_SDRAM_BASE + \
+#define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_SDRAM_BASE + \
                                         CONFIG_SYS_INIT_RAM_SIZE - \
                                         GENERATED_GBL_DATA_SIZE)
-#define CONFIG_SYS_INIT_SP_ADDR                CONFIG_SYS_GBL_DATA_OFFSET
 
 /* Basic environment settings */
 #define BOOT_TARGET_DEVICES(func) \