]> git.ipfire.org Git - thirdparty/qemu.git/commit
Kconfig: Extract CONFIG_USB_CHIPIDEA from CONFIG_IMX
authorBernhard Beschow <shentey@gmail.com>
Sun, 9 Feb 2025 10:36:04 +0000 (11:36 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 25 Feb 2025 06:38:01 +0000 (09:38 +0300)
commit437999ae814470f4b738b8860a7080498151cae3
tree264dbc4857e716ac15cf8f3e8aa74ba2aeff0c04
parent3ffbdc3e12269f9269b11f250e45be1a617090aa
Kconfig: Extract CONFIG_USB_CHIPIDEA from CONFIG_IMX

TYPE_CHIPIDEA models an IP block which is also used in TYPE_ZYNQ_MACHINE which
itself is not an IMX device. CONFIG_ZYNQ selects CONFIG_USB_EHCI_SYSBUS while
TYPE_CHIPIDEA is a separate compilation unit, so only works by accident if
CONFIG_IMX is given. Fix that by extracting CONFIG_USB_CHIPIDEA from CONFIG_IMX.

cc: qemu-stable@nongnu.org
Fixes: 616ec12d0fcc "hw/arm/xilinx_zynq: Fix USB port instantiation"
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-id: 20250209103604.29545-1-shentey@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 464ce71a963b3dfc290cd59c3d1bfedf11c004df)
(Mjt: context fixup due to missing
 v9.2.0-1303-g1b326f278d05 "hw/pci-host/designware: Expose MSI IRQ")
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/arm/Kconfig
hw/usb/Kconfig
hw/usb/meson.build