summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-23 00:07:26 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-24 00:15:38 +0900
commitce3a63905b06c884b8e22249b264b246cb84716f (patch)
tree3511f3fda2d7fde071db5ded1e896dfedbe7e49e /include/configs
parent499785b970a36a0c8de9bf4e5edf07455dc5b9bc (diff)
ARM: UniPhier: use CONFIG_SPL_STACK to define SPL stack pointer
Ifdef conditionals for CONFIG options are not Kconfig-friendly. Instead, define CONFIG_SPL_STACK to prepare for Kconfig moves. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/uniphier.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index c27010a408..db1e08f81a 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -280,11 +280,8 @@
#define CONFIG_SKIP_LOWLEVEL_INIT
#endif
-#ifdef CONFIG_SPL_BUILD
-#define CONFIG_SYS_INIT_SP_ADDR (0x0ff08000)
-#else
+#define CONFIG_SPL_STACK (0x0ff08000)
#define CONFIG_SYS_INIT_SP_ADDR ((CONFIG_SYS_TEXT_BASE) - 0x00001000)
-#endif
#define CONFIG_PANIC_HANG