Kconfig: Extract CONFIG_USB_CHIPIDEA from CONFIG_IMX
authorBernhard Beschow <shentey@gmail.com>
Sun, 9 Feb 2025 10:36:04 +0000 (11:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2025 14:20:29 +0000 (14:20 +0000)
commit464ce71a963b3dfc290cd59c3d1bfedf11c004df
treeea4ed7c0b2b33f1166650e84528a0253108294dc
parent262f4ab3d5e3fcb6e85e40d9e29d9914c17972ed
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>
hw/arm/Kconfig
hw/usb/Kconfig
hw/usb/meson.build