[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/22] hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine
From: |
Alex Bennée |
Subject: |
[PATCH 07/22] hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine |
Date: |
Wed, 3 May 2023 10:12:29 +0100 |
From: Fabiano Rosas <farosas@suse.de>
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>
---
hw/arm/Kconfig | 1 +
hw/usb/Kconfig | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 168c1e8089..cec7898bb7 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -439,6 +439,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 ce4f433976..0ec6def4b8 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
--
2.39.2
- Re: [PATCH 02/22] tests/docker: bump the xtensa base to debian:11-slim, (continued)
- [PATCH 03/22] docs: document breakpoint and watchpoint support, Alex Bennée, 2023/05/03
- [PATCH 04/22] scripts/ci: add gitlab-runner to kvm group, Alex Bennée, 2023/05/03
- [PATCH 09/22] hw/arm: Select e1000e for sbsa-ref machine, Alex Bennée, 2023/05/03
- [PATCH 08/22] hw/arm: Select GICV3_TCG for sbsa-ref machine, Alex Bennée, 2023/05/03
- [PATCH 10/22] hw/arm: Select VGA_PCI for sbsa-ref machine, Alex Bennée, 2023/05/03
- [PATCH 07/22] hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine,
Alex Bennée <=
- [PATCH 06/22] hw/arm: Select VIRTIO_BLK for virt machine, Alex Bennée, 2023/05/03
- [PATCH 11/22] hw/alpha: make E1000_PCI a hard dependency for clipper, Alex Bennée, 2023/05/03
- [PATCH 18/22] scripts/ci: clean-up the 20.04/22.04 confusion in ansible, Alex Bennée, 2023/05/03
- [PATCH 14/22] hw/loongarch: add VIRTIO as a dependency for LOONGARCH_VIRT, Alex Bennée, 2023/05/03
- [PATCH 15/22] hw/sh4: make RTL8139 a hard dependency for RD2, Alex Bennée, 2023/05/03