[PATCH v2 6/6] qemu-arm64: Enable POSITION_INDEPENDENT

Tom Rini
2020-10-09T13:03:04Z

On Wed, Sep 30, 2020 at 05:39:18PM +0100, Andre Przywara wrote:

> 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>

Applied to u-boot/master, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201009/035af7f6/attachment.sig>