aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-24 13:23:40 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:12 -0400
commit68eed5bb1cc5581e6347c9e961de84de1510712a (patch)
tree96ee489b64b176b408f6b4b7a5ec1c6df918d9de
parent85758d8aa1337fdba794e235df7ecf5d2118f05e (diff)
downloadu-boot-68eed5bb1cc5581e6347c9e961de84de1510712a.zip
u-boot-68eed5bb1cc5581e6347c9e961de84de1510712a.tar.gz
u-boot-68eed5bb1cc5581e6347c9e961de84de1510712a.tar.bz2
arm: Stop using CONFIG_SYS_GBL_DATA_OFFSET
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>
-rw-r--r--include/configs/integrator-common.h3
-rw-r--r--include/configs/vexpress_common.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/integrator-common.h b/include/configs/integrator-common.h
index d578b02..927daa7 100644
--- a/include/configs/integrator-common.h
+++ b/include/configs/integrator-common.h
@@ -32,10 +32,9 @@
#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
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index f27280a..86cb56e 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -139,10 +139,9 @@
/* 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) \