usb: dwc3: Move CONFIG_USB_DWC3_OMAP to Kconfig
authorSam Protsenko <semen.protsenko@linaro.org>
Wed, 13 Apr 2016 11:20:28 +0000 (14:20 +0300)
committerMarek Vasut <marex@denx.de>
Wed, 20 Apr 2016 09:43:28 +0000 (11:43 +0200)
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
16 files changed:
configs/am437x_gp_evm_defconfig
configs/am437x_sk_evm_defconfig
configs/am43xx_evm_defconfig
configs/am43xx_evm_ethboot_defconfig
configs/am43xx_evm_qspiboot_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/dra72_evm_defconfig
configs/dra74_evm_defconfig
configs/dra7xx_evm_defconfig
configs/dra7xx_evm_qspiboot_defconfig
configs/dra7xx_evm_uart3_defconfig
configs/omap5_uevm_defconfig
drivers/usb/dwc3/Kconfig
include/configs/am43xx_evm.h
include/configs/dra7xx_evm.h
include/configs/omap5_uevm.h

index 8dc905e4ad602bc45ebbb8e599f2734826c4d172..ce16f93bc7d8e3c8f00eda7af71085a074c32caf 100644 (file)
@@ -23,5 +23,6 @@ CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index 33cc903a7ef519b85838fe50b082d04bcd45edce..ee956a031ab46f7495ea3e1ba0c3f8eb38e85220 100644 (file)
@@ -27,5 +27,6 @@ CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index 5406bebf298a6853e61ea54d6c6aeb19c7f7c431..094035165527008701c7e23fc2cf8350c185a4fd 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index fa01c754dda84b40376aa0d0f7d7fdd6851ba037..dc25719f325a2ff62bc90328e043f1c7ee70678b 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 76d2e72c9168aa727cc225a9a40be0a49109874f..4cd48c3d58434ba4bd845c0659fa2210e3f5e5b7 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index c437b3a02ea5f157711ce706b3e5b45268def554..6371d54d3be0f01717820efa5ae583802864c176 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 9fdd842748eddb25195e82343ec61da5dd40ebe0..040412da042c2f4fac407da18075f96e48f2ce68 100644 (file)
@@ -26,5 +26,6 @@ CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index 810db5b5da1452398696de5e25a584ac94fce091..28646b09a5f05912659860ebafc60578880e5192 100644 (file)
@@ -25,5 +25,6 @@ CONFIG_OMAP_TIMER=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index 88bf3797738806c99492bbba202f727e7be3eb84..a4608975100157d77463ebdd6c924ef67a3dd3dc 100644 (file)
@@ -16,6 +16,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 80961f76368968f1b86d63ce79c49d13cdea3896..56a596594e1a3ae86bf04b176d095e157adc4a3e 100644 (file)
@@ -16,6 +16,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index f1870839b572464b8a96c895b59fd26c26c1698c..1121289f9cb9c4e8348408e513755dcdf3d263b6 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_TI_QSPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 5ab2b9d1a8656ddd7cb438480613423faecc1307..9a5b91b2b456b23cf429c168674c2370ac55082f 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index c0251b1937ccb2aac4fc394720b7e39bc3f0b39a..0bb862a60a2b0633613802206169a93171d68fda 100644 (file)
@@ -27,4 +27,14 @@ config USB_DWC3_GADGET
 
 endchoice
 
+comment "Platform Glue Driver Support"
+
+config USB_DWC3_OMAP
+       bool "Texas Instruments OMAP5 and similar Platforms"
+       help
+         Some platforms from Texas Instruments like OMAP5, DRA7xxx and
+         AM437x use this IP for USB2/3 functionality.
+
+         Say 'Y' here if you have one such device
+
 endif
index 5e0f65d58fe68dd69c52706c90e05b8bef9c2fa3..b330f1b51b6395e0a827eb371fc55bffc8322de7 100644 (file)
 
 /* USB GADGET */
 #if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USBETH_SUPPORT)
+#undef CONFIG_USB_DWC3_OMAP
 #undef CONFIG_USB_DWC3
 #undef CONFIG_USB_DWC3_GADGET
 
 #if !defined(CONFIG_SPL_BUILD) || \
        (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT))
 #define CONFIG_USB_DWC3_PHY_OMAP
-#define CONFIG_USB_DWC3_OMAP
 
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #define CONFIG_G_DNL_VENDOR_NUM 0x0403
index 3fb97e88439f2a9ab073b46213016ef15b35b20d..118bf916b6922e094b777746cd7cac19179c19b8 100644 (file)
 
 /* USB GADGET */
 #define CONFIG_USB_DWC3_PHY_OMAP
-#define CONFIG_USB_DWC3_OMAP
 
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #define CONFIG_G_DNL_VENDOR_NUM 0x0451
index 6853260fd2578dd03f16150caec2a71bbacc3f60..533ac7b12068547cd4d03682ec98f559504d209c 100644 (file)
 
 /* USB GADGET */
 #define CONFIG_USB_DWC3_PHY_OMAP
-#define CONFIG_USB_DWC3_OMAP
 
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #define CONFIG_G_DNL_VENDOR_NUM 0x0403