]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine
authorFabiano Rosas <farosas@suse.de>
Wed, 3 May 2023 09:12:29 +0000 (10:12 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 10 May 2023 15:02:58 +0000 (16:02 +0100)
This machine hardcodes initialization of the USB device, so select the
corresponding Kconfig. It is not enough to have it as "default y if
XLNX_VERSAL" at usb/Kconfig because building --without-default-devices
disables the default selection resulting in:

$ ./qemu-system-aarch64 -M xlnx-zcu102
qemu-system-aarch64: missing object type 'usb_dwc3'
Aborted (core dumped)

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230208192654.8854-8-farosas@suse.de>
Message-Id: <20230503091244.1450613-8-alex.bennee@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/arm/Kconfig
hw/usb/Kconfig

index 2d7c4579559bcb22d0df703ea0392f02bbfa7216..0f42c556d73771e50dab531874f104e9beaf16d2 100644 (file)
@@ -436,6 +436,7 @@ config XLNX_VERSAL
     select OR_IRQ
     select XLNX_BBRAM
     select XLNX_EFUSE_VERSAL
+    select XLNX_USB_SUBSYS
 
 config NPCM7XX
     bool
index ce4f4339763e0b140feb74cb03f6214beec3ef7c..0ec6def4b8b89f20a40b708fcdf4a4a6094eceb1 100644 (file)
@@ -136,5 +136,4 @@ config USB_DWC3
 
 config XLNX_USB_SUBSYS
     bool
-    default y if XLNX_VERSAL
     select USB_DWC3