usb: dwc3: improve the config dependency of USB_DWC3_XILINX
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 16 Nov 2022 11:04:44 +0000 (12:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2022 16:30:21 +0000 (17:30 +0100)
A request to Manish Narani (see Link) asked for clarification of the
reference to the config ARCH_VERSAL in the support of Xilinx SoCs with
DesignWare Core USB3 IP.

As there is no response, clean up the reference to the non-existing config
symbol. While at it, follow up on Felipe Balbi's request to add the
alternative COMPILE_TEST dependency.

Link: https://lore.kernel.org/all/CAKXUXMwgWfX8+OvY0aCwRNukencwJERAZzU7p4eOLXQ2zv6rAg@mail.gmail.com/
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20221116110444.8340-1-lukas.bulwahn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/Kconfig

index 03ededa..b2f72b0 100644 (file)
@@ -152,11 +152,11 @@ config USB_DWC3_IMX8MP
 
 config USB_DWC3_XILINX
        tristate "Xilinx Platforms"
-       depends on (ARCH_ZYNQMP || ARCH_VERSAL) && OF
+       depends on (ARCH_ZYNQMP || COMPILE_TEST) && OF
        default USB_DWC3
        help
          Support Xilinx SoCs with DesignWare Core USB3 IP.
-         This driver handles both ZynqMP and Versal SoC operations.
+         This driver handles ZynqMP SoC operations.
          Say 'Y' or 'M' if you have one such device.
 
 config USB_DWC3_AM62