[PATCH 2/2] arm: qemu: Add imply CONFIG_POSITION_INDEPENDENT
Yang Xiwen via B4 Relay
devnull+forbidden405.outlook.com at kernel.org
Sat May 31 15:10:03 CEST 2025
From: Yang Xiwen <forbidden405 at outlook.com>
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 at outlook.com>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 79f60eb3f349..6ff3f2750ea8 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"
--
2.43.0
More information about the U-Boot
mailing list