diff mbox series

[U-Boot] usb: Convert CONFIG_USB_R8A66597_HCD to Kconfig

Message ID 20190504172534.31191-1-marek.vasut+renesas@gmail.com
State Deferred
Delegated to: Marek Vasut
Headers show
Series [U-Boot] usb: Convert CONFIG_USB_R8A66597_HCD to Kconfig | expand

Commit Message

Marek Vasut May 4, 2019, 5:25 p.m. UTC
This converts the following to Kconfig:
   CONFIG_USB_R8A66597_HCD

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 drivers/usb/host/Kconfig     | 16 ++++++++++++++++
 scripts/config_whitelist.txt |  1 -
 2 files changed, 16 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 1c2212f547..4e72157e07 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -287,3 +287,19 @@  config USB_DWC2_BUFFER_SIZE
 	  because larger transactions could be split in smaller ones.
 
 endif # USB_DWC2
+
+config USB_R8A66597_HCD
+	bool "Renesas R8A66597 USB 2.0 host controller support"
+	select USB_HOST
+	---help---
+	  Enables support for the on-chip Renesas R8A66597 USB 2.0 controller,
+	  present in various RZ and SH SoCs.
+
+if USB_R8A66597_HCD
+config RZA_USB
+	bool "Renesas RZ/A1 extras"
+	default y if RZA1
+	---help---
+	  Enables support for RZ/A1 SoC extras in the R8A66597 USB host driver.
+
+endif # USB_R8A66597_HCD
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e48c40d34b..5a0cf7c4fc 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -4534,7 +4534,6 @@  CONFIG_USB_OTG
 CONFIG_USB_OTG_BLACKLIST_HUB
 CONFIG_USB_PHY_TYPE
 CONFIG_USB_PXA25X_SMALL
-CONFIG_USB_R8A66597_HCD
 CONFIG_USB_SERIALNO
 CONFIG_USB_TI_CPPI_DMA
 CONFIG_USB_TTY