aboutsummaryrefslogtreecommitdiff
path: root/include/configs/M5373EVB.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-24 13:40:05 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:12 -0400
commit06ddcfc95a0eb1cf17c1436bfeb3cc4d056fdb3a (patch)
tree48ed8145f8221a9baf796d1b24474010a3337b26 /include/configs/M5373EVB.h
parent68eed5bb1cc5581e6347c9e961de84de1510712a (diff)
downloadu-boot-06ddcfc95a0eb1cf17c1436bfeb3cc4d056fdb3a.zip
u-boot-06ddcfc95a0eb1cf17c1436bfeb3cc4d056fdb3a.tar.gz
u-boot-06ddcfc95a0eb1cf17c1436bfeb3cc4d056fdb3a.tar.bz2
m68k: 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>
Diffstat (limited to 'include/configs/M5373EVB.h')
-rw-r--r--include/configs/M5373EVB.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 6b2d60f..ab13e21 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -77,8 +77,7 @@
#define CONFIG_SYS_INIT_RAM_ADDR 0x80000000
#define CONFIG_SYS_INIT_RAM_SIZE 0x8000 /* Size of used area in internal SRAM */
#define CONFIG_SYS_INIT_RAM_CTRL 0x221
-#define CONFIG_SYS_GBL_DATA_OFFSET ((CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) - 0x10)
-#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
+#define CONFIG_SYS_INIT_SP_OFFSET ((CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) - 0x10)
/*-----------------------------------------------------------------------
* Start addresses for the final memory configuration