]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: renesas: Set CONFIG_SYS_TEXT_BASE=0x0 on R-Car Gen3
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 13 Jun 2021 20:41:09 +0000 (22:41 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 8 Aug 2021 10:27:04 +0000 (12:27 +0200)
commit0ae06f6b36bf3014531e04a10daa2ad71ad9a351
treea55829be75684dae23861558d387fe103afe399a
parentd2d9ecb88e0e06871cf0109e935e1b4cade780bf
ARM: renesas: Set CONFIG_SYS_TEXT_BASE=0x0 on R-Car Gen3

Since R-Car Gen3 already enables position independent build, also set
CONFIG_SYS_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_SYS_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_salvator-x_defconfig