From e927d85dceb56357db4a0d46b59d8430a7e0d349 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Wed, 17 Nov 2021 14:00:43 +0100 Subject: ARM64: qemu-virt: enable PCI support We now have a driver for the PCI controller on QEMU, so define HW_HAS_PCI. The barebox PCI implementation doesn't yet deal with 64-bit addresses, so use -M virt,highmem=off by default. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20211117130044.2437471-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 1 + test/arm/qemu_virt64_defconfig.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a8b7bdeaa6..14aa7e26af 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -276,6 +276,7 @@ config ARCH_ARM64_VIRT select SYS_SUPPORTS_64BIT_KERNEL select ARM_AMBA select BOARD_ARM_VIRT + select HW_HAS_PCI endchoice diff --git a/test/arm/qemu_virt64_defconfig.yaml b/test/arm/qemu_virt64_defconfig.yaml index ed308591da..5da5dfeb7e 100644 --- a/test/arm/qemu_virt64_defconfig.yaml +++ b/test/arm/qemu_virt64_defconfig.yaml @@ -3,7 +3,7 @@ targets: drivers: QEMUDriver: qemu_bin: qemu - machine: virt + machine: virt,highmem=off cpu: cortex-a57 memory: 1024M kernel: barebox-dt-2nd.img -- cgit v1.2.3