summaryrefslogtreecommitdiff
path: root/configs/uniphier_v8_defconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-26 13:51:47 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-10 22:37:23 +0900
commit92edfff6c63f08a29a5b5deb7b11121954a2f6b9 (patch)
treef286f82cebf850d28b8f4628842770e1753c468e /configs/uniphier_v8_defconfig
parent382de4a7e9278cdd086897ef94b02d35cbd8aa5e (diff)
ARM: uniphier_v8_defconfig: make 64bit SoC image position independent
For a planned new SoC in this SoC family, the base address of the DRAM will be changed from 0x80000000 to 0x20000000. The PIE support will be useful to maintain multiple similar SoCs whose DRAM addresses differ. Now CONFIG_SYS_TEXT_BASE is not important. I just set it to 0 to ensure CONFIG_POSITION_INDEPENDENT is working. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'configs/uniphier_v8_defconfig')
-rw-r--r--configs/uniphier_v8_defconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig
index 83f78776b7..3908ff80d6 100644
--- a/configs/uniphier_v8_defconfig
+++ b/configs/uniphier_v8_defconfig
@@ -1,7 +1,9 @@
CONFIG_ARM=y
+CONFIG_POSITION_INDEPENDENT=y
+CONFIG_INIT_SP_RELATIVE=y
CONFIG_ARM_SMCCC=y
CONFIG_ARCH_UNIPHIER=y
-CONFIG_SYS_TEXT_BASE=0x84000000
+CONFIG_SYS_TEXT_BASE=0x00000000
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_NR_DRAM_BANKS=3
CONFIG_ARCH_UNIPHIER_V8_MULTI=y