All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] p2371-2180: Build position independent binary
@ 2019-03-08 20:10 Thierry Reding
  2019-03-18 18:31 ` Stephen Warren
  0 siblings, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2019-03-08 20:10 UTC (permalink / raw)
  To: u-boot

From: Thierry Reding <treding@nvidia.com>

In order to support chainloading of U-Boot by an earlier bootloader,
make sure the binary is position independent, so that the earlier boot-
loader can relocate it if necessary.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 configs/p2371-2180_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/p2371-2180_defconfig b/configs/p2371-2180_defconfig
index b66459e379ac..8d7cf3fb5346 100644
--- a/configs/p2371-2180_defconfig
+++ b/configs/p2371-2180_defconfig
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_TEGRA=y
 CONFIG_SYS_TEXT_BASE=0x80110000
+CONFIG_POSITION_INDEPENDENT=y
 CONFIG_TEGRA210=y
 CONFIG_TARGET_P2371_2180=y
 CONFIG_NR_DRAM_BANKS=2
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-20 16:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-08 20:10 [U-Boot] [PATCH] p2371-2180: Build position independent binary Thierry Reding
2019-03-18 18:31 ` Stephen Warren
2019-03-19 12:12   ` Thierry Reding
2019-03-19 17:05     ` Stephen Warren
2019-03-20 10:27       ` Thierry Reding
2019-03-20 16:53         ` Stephen Warren

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.