[PATCH] usb: dwc3: make USB_DWC3_EXYNOS independent

From: taehyun cho
Date: Wed Mar 03 2021 - 06:32:08 EST


'ARCH_EXYNOS' is not suitable for DWC3_EXYNOS config.
'USB_DWC3_EXYNOS' is glue layer which can be used with
Synopsys DWC3 controller on Exynos SoCs. USB_DWC3_EXYNOS'
can be used from Exynos5 to Exynos9.

Signed-off-by: taehyun cho <taehyun.cho@xxxxxxxxxxx>
---
drivers/usb/dwc3/Kconfig | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index 2133acf8ee69..2a339b3b82c2 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -67,11 +67,12 @@ config USB_DWC3_OMAP

config USB_DWC3_EXYNOS
tristate "Samsung Exynos Platform"
- depends on (ARCH_EXYNOS || COMPILE_TEST) && OF
- default USB_DWC3
+ depends on (USB_DWC3 || COMPILE_TEST) && OF
help
- Recent Exynos5 SoCs ship with one DesignWare Core USB3 IP inside,
- say 'Y' or 'M' if you have one such device.
+ 'USB_DWC3_EXYNOS' is glue layer which can be used with
+ Synopsys DWC3 controller on Exynos SoCs. USB_DWC3_EXYNOS'
+ can be used from Exynos5 to Exynos9. say 'Y' or 'M'
+ if you have one such devices.

config USB_DWC3_PCI
tristate "PCIe-based Platforms"
--
2.26.0