summaryrefslogtreecommitdiff
path: root/include/configs/stmark2.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/stmark2.h
parent68eed5bb1cc5581e6347c9e961de84de1510712a (diff)
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/stmark2.h')
-rw-r--r--include/configs/stmark2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h
index b0a89734feb..2195feeb658 100644
--- a/include/configs/stmark2.h
+++ b/include/configs/stmark2.h
@@ -54,9 +54,8 @@
/* End of used area in internal SRAM */
#define CONFIG_SYS_INIT_RAM_SIZE 0x10000
#define CONFIG_SYS_INIT_RAM_CTRL 0x221
-#define CONFIG_SYS_GBL_DATA_OFFSET ((CONFIG_SYS_INIT_RAM_SIZE - \
+#define CONFIG_SYS_INIT_SP_OFFSET ((CONFIG_SYS_INIT_RAM_SIZE - \
GENERATED_GBL_DATA_SIZE) - 32)
-#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
#define CONFIG_SYS_SBFHDR_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - 32)
/*