[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 32/32] usb: add config options for the hub and hid devices
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 32/32] usb: add config options for the hub and hid devices |
Date: |
Tue, 4 Jun 2024 11:56:08 +0200 |
From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240530112718.1752905-3-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/usb/Kconfig | 10 ++++++++++
hw/usb/meson.build | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index f569ed7eea..84bc7fbe36 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -65,6 +65,16 @@ config TUSB6010
bool
select USB_MUSB
+config USB_HUB
+ bool
+ default y
+ depends on USB
+
+config USB_HID
+ bool
+ default y
+ depends on USB
+
config USB_TABLET_WACOM
bool
default y
diff --git a/hw/usb/meson.build b/hw/usb/meson.build
index 23f7f7acb5..d7de1003e3 100644
--- a/hw/usb/meson.build
+++ b/hw/usb/meson.build
@@ -35,8 +35,8 @@ system_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true:
files('xlnx-versal-usb2-ctrl-
system_ss.add(when: 'CONFIG_XLNX_USB_SUBSYS', if_true:
files('xlnx-usb-subsystem.c'))
# emulated usb devices
-system_ss.add(when: 'CONFIG_USB', if_true: files('dev-hub.c'))
-system_ss.add(when: 'CONFIG_USB', if_true: files('dev-hid.c'))
+system_ss.add(when: 'CONFIG_USB_HUB', if_true: files('dev-hub.c'))
+system_ss.add(when: 'CONFIG_USB_HID', if_true: files('dev-hid.c'))
system_ss.add(when: 'CONFIG_USB_TABLET_WACOM', if_true: files('dev-wacom.c'))
system_ss.add(when: 'CONFIG_USB_STORAGE_CORE', if_true: files('dev-storage.c'))
system_ss.add(when: 'CONFIG_USB_STORAGE_BOT', if_true:
files('dev-storage-bot.c'))
--
2.41.0
- [PULL 22/32] physmem: Replace check for RAMBlock offset 0 with xen_mr_is_memory, (continued)
- [PULL 22/32] physmem: Replace check for RAMBlock offset 0 with xen_mr_is_memory, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 23/32] hw/xen: Constify XenLegacyDevice::XenDevOps, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 24/32] hw/xen: Constify xenstore_be::XenDevOps, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 25/32] hw/xen: Make XenDevOps structures const, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 26/32] hw/xen: Register framebuffer backend via xen_backend_init(), Philippe Mathieu-Daudé, 2024/06/04
- [PULL 27/32] hw/misc/debugexit: use runstate API instead of plain exit(), Philippe Mathieu-Daudé, 2024/06/04
- [PULL 28/32] hw/dma/xlnx_dpdma: Read descriptor into buffer, not into pointer-to-buffer, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 29/32] hw/acpi: Remove the deprecated QAPI MEM_UNPLUG_ERROR event, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 30/32] trace: Remove deprecated 'vcpu' field from QMP trace events, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 31/32] qga: Remove deprecated 'blacklist' argument / config key, Philippe Mathieu-Daudé, 2024/06/04
- [PULL 32/32] usb: add config options for the hub and hid devices,
Philippe Mathieu-Daudé <=
- Re: [PULL 00/32] Misc HW / accel patches, Richard Henderson, 2024/06/04