Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabiano Rosas authored and stsquad committed May 10, 2023
1 parent a79e32a commit b9353ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions hw/arm/Kconfig
Expand Up @@ -436,6 +436,7 @@ config XLNX_VERSAL
select OR_IRQ
select XLNX_BBRAM
select XLNX_EFUSE_VERSAL
select XLNX_USB_SUBSYS

config NPCM7XX
bool
Expand Down
1 change: 0 additions & 1 deletion hw/usb/Kconfig
Expand Up @@ -136,5 +136,4 @@ config USB_DWC3

config XLNX_USB_SUBSYS
bool
default y if XLNX_VERSAL
select USB_DWC3

0 comments on commit b9353ac

Please sign in to comment.