summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishruth <vishruthj@nvidia.com>2020-03-26 15:20:43 -0700
committerTom Warren <twarren@nvidia.com>2020-04-02 14:30:01 -0700
commitc0d436fe892f1cc31bde3426834fe8512bc8a029 (patch)
tree01018593a75cb78501d751e7b249d8b6577379a4
parentd43c1dc2e8e8b0c5c3203d4dfbd71607d65dbf1e (diff)
downloadu-boot-c0d436fe892f1cc31bde3426834fe8512bc8a029.tar.gz
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 <vishruthj@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Peter Robinson <probinson@gmail.com>
-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 06f12e2b95..e347a7728b 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 1a14a9244a..0803b26cd8 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