summaryrefslogtreecommitdiff
path: root/include/system-constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system-constants.h')
-rw-r--r--include/system-constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system-constants.h b/include/system-constants.h
index 83b41b384f3..07c3505e8f5 100644
--- a/include/system-constants.h
+++ b/include/system-constants.h
@@ -12,7 +12,7 @@
#define SYS_INIT_SP_ADDR CONFIG_CUSTOM_SYS_INIT_SP_ADDR
#else
#ifdef CONFIG_MIPS
-#define SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_INIT_SP_OFFSET)
+#define SYS_INIT_SP_ADDR (CFG_SYS_SDRAM_BASE + CONFIG_SYS_INIT_SP_OFFSET)
#else
#define SYS_INIT_SP_ADDR \
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)