aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-05-03 10:12:29 +0100
committerAlex Bennée <alex.bennee@linaro.org>2023-05-10 16:02:58 +0100
commitb9353acfd7ae1fc59a64b9aea34bd77a415751d1 (patch)
tree3c027a31395dfecd01d182b3375f30d91cd28b87 /hw
parenta79e32a944795e147ba4a2790fac96f27ef4b281 (diff)
downloadqemu-b9353acfd7ae1fc59a64b9aea34bd77a415751d1.zip
qemu-b9353acfd7ae1fc59a64b9aea34bd77a415751d1.tar.gz
qemu-b9353acfd7ae1fc59a64b9aea34bd77a415751d1.tar.bz2
hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/arm/Kconfig1
-rw-r--r--hw/usb/Kconfig1
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 2d7c457..0f42c55 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -436,6 +436,7 @@ config XLNX_VERSAL
select OR_IRQ
select XLNX_BBRAM
select XLNX_EFUSE_VERSAL
+ select XLNX_USB_SUBSYS
config NPCM7XX
bool
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index ce4f433..0ec6def 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -136,5 +136,4 @@ config USB_DWC3
config XLNX_USB_SUBSYS
bool
- default y if XLNX_VERSAL
select USB_DWC3