]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_USB_GADGET_DWC2_OTG_PHY to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 15 Jun 2022 16:03:52 +0000 (12:03 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:03:01 +0000 (17:03 -0400)
This converts the following to Kconfig:
   CONFIG_USB_GADGET_DWC2_OTG_PHY

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/odroid_defconfig
configs/origen_defconfig
configs/s5p_goni_defconfig
configs/s5pc210_universal_defconfig
configs/trats2_defconfig
configs/trats_defconfig
drivers/usb/gadget/Kconfig
include/configs/exynos4-common.h
include/configs/s5p_goni.h
include/configs/s5pc210_universal.h
include/configs/smdkv310.h

index 8beb6a006e5ed556684d9ed97ef60207e7f59629..9f4543c1ba844606acd1c16cc703d4ba607b8f8e 100644 (file)
@@ -72,6 +72,7 @@ CONFIG_USB_GADGET_MANUFACTURER="Samsung"
 CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
 CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DWC2_OTG_PHY=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
 CONFIG_LIB_HW_RAND=y
index 0a36472d3312489685a0531f17e5d07a1e2696a7..9a429a8704a0f26f5422182114426e52b9632ec5 100644 (file)
@@ -54,5 +54,6 @@ CONFIG_USB_GADGET_MANUFACTURER="Samsung"
 CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
 CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DWC2_OTG_PHY=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
index 17bd8424da24d8e431cd0cca31472b23b2422f90..c13602d3bb7b84906e8371cba8b5ca5d3cd5c420 100644 (file)
@@ -61,5 +61,6 @@ CONFIG_USB_GADGET_MANUFACTURER="Samsung"
 CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
 CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DWC2_OTG_PHY=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
index a66ae7dec9b6363f465e030d195ecd9e0e90b98e..cab0ac8e845ba78d857d2b54937e423d69c4391f 100644 (file)
@@ -59,5 +59,6 @@ CONFIG_USB_GADGET_MANUFACTURER="Samsung"
 CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
 CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DWC2_OTG_PHY=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
index 5c47a22d1e06147ac9ab5cc61f277cb1c25c4abd..b48ed9c4242d5318c241beca2e82d20f9d029902 100644 (file)
@@ -62,6 +62,7 @@ CONFIG_USB_GADGET_MANUFACTURER="Samsung"
 CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
 CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DWC2_OTG_PHY=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
 CONFIG_LIB_HW_RAND=y
index 008a8ff4b30eda5f91d42c549738704be049e1fb..3e0fdfe83483910ce42719a93cd7cca9fe2caece 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_USB_GADGET_MANUFACTURER="Samsung"
 CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
 CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DWC2_OTG_PHY=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
 CONFIG_LIB_HW_RAND=y
index d81a9c5a100d148c488ac49e24c76be87c2eb008..350036f2083c476f9f513041fc9e7df2c1391481 100644 (file)
@@ -92,6 +92,11 @@ config USB_GADGET_DWC2_OTG
 
 if USB_GADGET_DWC2_OTG
 
+config USB_GADGET_DWC2_OTG_PHY
+       bool "DesignWare USB2.0 HS OTG PHY"
+       help
+         Enable the DesignWare USB2.0 HS OTG physical device interface.
+
 config USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8
        bool "DesignWare USB2.0 HS OTG controller 8-bit PHY bus width"
        help
index 625a2d8dc1852ba9c6668c649004cb105d6d4d9e..054cb5309e70f5ff8066fc3d295cbeffa95a9111 100644 (file)
@@ -23,8 +23,6 @@
 
 #define CONFIG_SYS_MONITOR_LEN         (256 << 10)     /* Reserve 2 sectors */
 
-#define CONFIG_USB_GADGET_DWC2_OTG_PHY
-
 /* Common environment variables */
 #define ENV_ITB \
        "loadkernel=load mmc ${mmcbootdev}:${mmcbootpart} ${kerneladdr} " \
index 8208f14e09e0e9b0c9aeabf7a6780b55e7593ca8..712a47a495691ffb783920ab4aac4ed30172e26c 100644 (file)
 
 #define CONFIG_SYS_ONENAND_BASE                0xB0000000
 
-#define CONFIG_USB_GADGET_DWC2_OTG_PHY
-
 #endif /* __CONFIG_H */
index c51ff5718cf249d7ec9d3ca50c9db7b99944638e..137537d65f6581882bcbf66e75b89c6ec1343f45 100644 (file)
@@ -89,8 +89,6 @@
 
 #define CONFIG_SYS_ONENAND_BASE                0x0C000000
 
-#define CONFIG_USB_GADGET_DWC2_OTG_PHY
-
 #ifndef        __ASSEMBLY__
 void universal_spi_scl(int bit);
 void universal_spi_sda(int bit);
index bb0f5473030d29cb9ab2b6fdf9d3d7430d334a38..0b1f0c5f54ca8fa83fd0dc286e9479f09c8c4449 100644 (file)
@@ -10,8 +10,6 @@
 
 #include "exynos4-common.h"
 
-#undef CONFIG_USB_GADGET_DWC2_OTG_PHY
-
 /* High Level Configuration Options */
 #define CONFIG_SYS_SDRAM_BASE          0x40000000