[PATCH v2 6/6] Config to target QEMU virt machine with virtualization

Jim Posen jim.posen at gmail.com
Wed Nov 24 20:40:01 CET 2021


This machine is run with "qemu-system-arm -M virt,virtualization".

Signed-off-by: Jim Posen <jim.posen at gmail.com>
---

Changes in v2:
- Add QEMU config option for ARM32 with virtualization extensions

 arch/arm/mach-qemu/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig
index 186c3582eb..92f7d33f48 100644
--- a/arch/arm/mach-qemu/Kconfig
+++ b/arch/arm/mach-qemu/Kconfig
@@ -27,4 +27,10 @@ config TARGET_QEMU_ARM_64BIT
 
 endchoice
 
+config QEMU_ARM_32BIT_HAS_VIRT
+	bool "Virtualization Extensions for ARMv7-A"
+	depends on TARGET_QEMU_ARM_32BIT
+	select CPU_V7_HAS_VIRT
+	select ARMV7_LPAE
+
 endif
-- 
2.25.1



More information about the U-Boot mailing list