diff options
author | Andrew F. Davis <afd@ti.com> | 2019-01-04 16:04:01 -0600 |
---|---|---|
committer | Andrew F. Davis <afd@ti.com> | 2019-10-29 14:27:11 +0000 |
commit | ff835a9a9dca698d7c003979aa668e8bfae6f6e7 (patch) | |
tree | 4efb5dd2d8f1a933c76c82638d693811057b1ab4 /plat/ti/k3 | |
parent | a74e3a16b50c70a34936b03876c2018c52ae8311 (diff) | |
download | trusted-firmware-a-ff835a9a9dca698d7c003979aa668e8bfae6f6e7.tar.gz |
ti: k3: common: Add PIE support
Running TF-A from non-standard location such as DRAM is useful for some
SRAM heavy use-cases. Allow the TF-A binary to be executed from an
arbitrary memory location.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Change-Id: Icd97926e4d97f37d7cde4a92758a52f57d569111
Diffstat (limited to 'plat/ti/k3')
-rw-r--r-- | plat/ti/k3/common/plat_common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/ti/k3/common/plat_common.mk b/plat/ti/k3/common/plat_common.mk index 20a94ef9e5..7956497ae0 100644 --- a/plat/ti/k3/common/plat_common.mk +++ b/plat/ti/k3/common/plat_common.mk @@ -31,6 +31,9 @@ HANDLE_EA_EL3_FIRST := 1 # Split out RO data into a non-executable section SEPARATE_CODE_AND_RODATA := 1 +# Generate a Position Independent Executable +ENABLE_PIE := 1 + TI_16550_MDR_QUIRK := 1 $(eval $(call add_define,TI_16550_MDR_QUIRK)) |