summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2022-12-22 22:07:08 +0100
committerMarek Vasut <marek.vasut+renesas@gmail.com>2023-01-14 14:10:12 +0100
commit2d09040fbaf83ef923fe8be4be6564d9a58e525f (patch)
tree54fc0ea2c417acc9060e9b57de1da4849de0b80f
parent81616cec1eb727464b96295db1a469490ba68822 (diff)
ARM: renesas: condor: Set CONFIG_TEXT_BASE=0x0 on R-Car Gen3 Condor
Since R-Car Gen3 already enables position independent build, also set CONFIG_TEXT_BASE=0x0 to finalize the switch. This is possible since 534f0fbd65 ("arm64: Fix relocation of env_addr if POSITION_INDEPENDENT=y") fixed current env_get_char() crash with CONFIG_TEXT_BASE=0x0 . This change permits us to start U-Boot from any location in DRAM instead of specific TEXT_BASE. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
-rw-r--r--configs/r8a77980_condor_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/r8a77980_condor_defconfig b/configs/r8a77980_condor_defconfig
index b316a99827..819877d6ad 100644
--- a/configs/r8a77980_condor_defconfig
+++ b/configs/r8a77980_condor_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_COUNTER_FREQUENCY=16666666
CONFIG_ARCH_CPU_INIT=y
CONFIG_ARCH_RMOBILE=y
-CONFIG_TEXT_BASE=0x50000000
+CONFIG_TEXT_BASE=0x0
CONFIG_SYS_MALLOC_LEN=0x4000000
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_ENV_SIZE=0x40000