summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishruth <[email protected]>2020-03-26 15:20:43 -0700
committerTom Warren <[email protected]>2020-04-02 14:30:01 -0700
commitc0d436fe892f1cc31bde3426834fe8512bc8a029 (patch)
tree01018593a75cb78501d751e7b249d8b6577379a4
parentd43c1dc2e8e8b0c5c3203d4dfbd71607d65dbf1e (diff)
ARM: tegra: p2771-0000: enable PIE relocation
U-Boot is configured to build as position independent executable. Enable relocation of RELA section required to work with different load addresses. Signed-off-by: Vishruth <[email protected]> Signed-off-by: Tom Warren <[email protected]> Reviewed-by: Stephen Warren <[email protected]> Tested-by: Peter Robinson <[email protected]>
-rw-r--r--configs/p2771-0000-000_defconfig1
-rw-r--r--configs/p2771-0000-500_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/p2771-0000-000_defconfig b/configs/p2771-0000-000_defconfig
index 06f12e2b952..e347a7728b0 100644
--- a/configs/p2771-0000-000_defconfig
+++ b/configs/p2771-0000-000_defconfig
@@ -36,3 +36,4 @@ CONFIG_TEGRA186_POWER_DOMAIN=y
CONFIG_SYS_NS16550=y
CONFIG_USB=y
CONFIG_DM_USB=y
+CONFIG_POSITION_INDEPENDENT=y
diff --git a/configs/p2771-0000-500_defconfig b/configs/p2771-0000-500_defconfig
index 1a14a9244ae..0803b26cd81 100644
--- a/configs/p2771-0000-500_defconfig
+++ b/configs/p2771-0000-500_defconfig
@@ -36,3 +36,4 @@ CONFIG_TEGRA186_POWER_DOMAIN=y
CONFIG_SYS_NS16550=y
CONFIG_USB=y
CONFIG_DM_USB=y
+CONFIG_POSITION_INDEPENDENT=y