[U-Boot] [PATCH] p2371-2180: Build position independent binary

Thierry Reding thierry.reding at gmail.com
Fri Mar 8 20:10:23 UTC 2019


From: Thierry Reding <treding at 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 at 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



More information about the U-Boot mailing list