]> git.baikalelectronics.ru Git - uboot.git/commit
qemu-arm64: Enable POSITION_INDEPENDENT
authorAndre Przywara <andre.przywara@arm.com>
Wed, 30 Sep 2020 16:39:18 +0000 (17:39 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 8 Oct 2020 15:42:36 +0000 (11:42 -0400)
commitaf7c7dd98897ae55b21f6c0817c3ab4e92f381c6
tree6f3f40e4e228f8698b1357e52fb14309022ea96d
parentedcea5343a674e6e0af2e2313083ab33ff844a7e
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>
arch/arm/Kconfig
configs/qemu_arm64_defconfig