[PATCH 1/2] ARM64: qemu-virt: enable PCI support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <a.fatoum@xxxxxxxxxxxxxx>
---
 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 a8b7bdeaa6ee..14aa7e26af29 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 ed308591da53..5da5dfeb7e27 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
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux