diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-09-30 19:39:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-08 18:42:36 +0300 |
commit | f5cb6c3081dfbd36dd0be9b9f4b42a6885b640b9 (patch) | |
tree | 6f3f40e4e228f8698b1357e52fb14309022ea96d /configs/qemu_arm64_defconfig | |
parent | f8df0560b6671285d6293986d58bdb968a49f209 (diff) | |
download | u-boot-f5cb6c3081dfbd36dd0be9b9f4b42a6885b640b9.tar.xz |
qemu-arm64: Enable POSITION_INDEPENDENT
Now that PIE works when U-Boot is started from ROM, let's enable
CONFIG_POSITION_INDEPENDENT, which allows to load U-Boot also via
ARM Trusted-Firmware's fip.bin to DRAM, without tweaking the
configuration.
To get a writable initial stack, we need to keep the fixed initial
stack pointer, which points to DRAM in our case.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'configs/qemu_arm64_defconfig')
-rw-r--r-- | configs/qemu_arm64_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index 31ea2d342f..4450e7ced4 100644 --- a/configs/qemu_arm64_defconfig +++ b/configs/qemu_arm64_defconfig @@ -1,6 +1,7 @@ CONFIG_ARM=y CONFIG_ARCH_QEMU=y CONFIG_NR_DRAM_BANKS=1 +CONFIG_POSITION_INDEPENDENT=y CONFIG_ENV_SIZE=0x40000 CONFIG_ENV_SECT_SIZE=0x40000 CONFIG_AHCI=y |