All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: renesas: Turn on PIE for Gen3
@ 2021-06-14 22:56 Marek Vasut
  0 siblings, 0 replies; only message in thread
From: Marek Vasut @ 2021-06-14 22:56 UTC (permalink / raw)
  To: u-boot; +Cc: Marek Vasut, Biju Das, Lad Prabhakar

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.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Biju Das <biju.das.jz@bp.renesas.com>
Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm/mach-rmobile/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-rmobile/Kconfig b/arch/arm/mach-rmobile/Kconfig
index 41322b2c4c..69e40cf382 100644
--- a/arch/arm/mach-rmobile/Kconfig
+++ b/arch/arm/mach-rmobile/Kconfig
@@ -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
-- 
2.30.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-14 22:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 22:56 [PATCH] ARM: renesas: Turn on PIE for Gen3 Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.