Skip to contentSkip to conversation

ARM: renesas: Turn on PIE for Gen3

PATCH New Marek Vasut 1 participant 1 message Jun 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: renesas: Turn on PIE for Gen3

Turn on PIE, so that the U-Boot binary can be started from any arbitrary location in DRAM instead of a predefined fixed one. Note that this patch is not setting SYS_TEXT_BASE=0x0 yet, since that triggers relocation bugs in env code that are yet to be fixed.

Cc Biju Das <[email protected]>
Cc Lad Prabhakar <[email protected]>
---
 arch/arm/mach-rmobile/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-rmobile/Kconfig +1 -0
index 41322b2c4c..69e40cf382 100644
@@ -17,6 +17,7 @@ config RCAR_GEN3
 	select PINCTRL
 	select PINCONF
 	select PINCTRL_PFC
+	select POSITION_INDEPENDENT
 	select SUPPORT_SPL
 	imply CMD_FS_UUID
 	imply CMD_GPT
Signature · 1 line
2.30.2