hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine
commitb9353acfd7ae1fc59a64b9aea34bd77a415751d1
authorFabiano Rosas <farosas@suse.de>
Wed, 3 May 2023 09:12:29 +0000 (3 10:12 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 10 May 2023 15:02:58 +0000 (10 16:02 +0100)
tree3c027a31395dfecd01d182b3375f30d91cd28b87
parenta79e32a944795e147ba4a2790fac96f27ef4b281
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>
hw/arm/Kconfig
hw/usb/Kconfig