diff options
author | Yang Xiwen <forbidden405@outlook.com> | 2025-05-31 21:10:03 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-09 09:18:17 -0600 |
commit | 0a7610c97ae6af8d2681e361eb24fce1cd63194d (patch) | |
tree | e3e060b98da80b2177fa4309f4d0c0e9aef8613b | |
parent | 03005fbe5006c4c79143fdddb453d3ec74e004f5 (diff) |
arm: qemu: Add imply CONFIG_POSITION_INDEPENDENT
Add 'imply CONFIG_POSITION_INDEPENTDENT' for QEMU arm arch. This allows
qemu arm boards to load u-boot.bin at any address. It is skipped by
default when u-boot is loaded by either --bios or --kernel.
To load u-boot.bin at a different address, one can use u-boot
chain-loading or qemu loader device[1].
[1] https://www.qemu.org/docs/master/system/generic-loader.html
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 79f60eb3f34..6ff3f2750ea 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1091,6 +1091,7 @@ config ARCH_QEMU imply USB_XHCI_PCI imply USB_KEYBOARD imply CMD_USB + imply POSITION_INDEPENDENT config ARCH_RENESAS bool "Renesas ARM SoCs" |