]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM: renesas: ulcb: Set CONFIG_TEXT_BASE=0x0 on R-Car Gen3 ULCB
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 22 Dec 2022 21:06:46 +0000 (22:06 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 14 Jan 2023 13:10:12 +0000 (14:10 +0100)
Since R-Car Gen3 already enables position independent build, also set
CONFIG_TEXT_BASE=0x0 to finalize the switch. This is possible since
734946ddca ("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>
configs/rcar3_ulcb_defconfig

index 076bc2d33562694eb6059d1ea99c87cb758b5cdc..1e964880f6bd36b9a53d46b5307bf57f255eee12 100644 (file)
@@ -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=0x20000