]> git.dujemihanovic.xyz Git - u-boot.git/commit
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)
commit0abcc23392db37752a402119fbb55c6b213bc3c5
tree9a834edc7cc53c8e048f766a5c0a46c243d0aee8
parent2d09040fbaf83ef923fe8be4be6564d9a58e525f
ARM: renesas: ulcb: Set CONFIG_TEXT_BASE=0x0 on R-Car Gen3 ULCB

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>
configs/rcar3_ulcb_defconfig