This converts the following to Kconfig:
CONFIG_USB_R8A66597_HCD
Signed-off-by: Marek Vasut <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
---
drivers/usb/host/Kconfig | 16 ++++++++++++++++
scripts/config_whitelist.txt | 1 -
2 files changed, 16 insertions(+), 1 deletion(-)
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
--
2.20.1
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot