]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_USB_GADGET_AT91 to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:38 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:08:37 +0000 (16:08 -0500)
This converts the following to Kconfig:
   CONFIG_USB_GADGET_AT91

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/smartweb_defconfig
configs/taurus_defconfig
drivers/usb/gadget/Kconfig
include/configs/smartweb.h
include/configs/taurus.h

index 601353c67a66941a63d3954868ada37f8ebce63c..ed0ed2c7bb13b1062c1b999f9441fe26a3dcd045 100644 (file)
@@ -97,6 +97,7 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0908
 CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
+CONFIG_USB_GADGET_AT91=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_WDT=y
 CONFIG_WDT_AT91=y
index ef9e444a670bc4c1ae7c4bddf069a86a65d74c28..9a1dac78f127076228c7926b7e3a197e4f27e8a9 100644 (file)
@@ -115,6 +115,7 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0908
 CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
+CONFIG_USB_GADGET_AT91=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_WDT=y
 CONFIG_WDT_AT91=y
index e8da73c78869f4541643fe8723354b5594bef498..e120efeb00737274747a8c6a1f0e2b2a15052f2b 100644 (file)
@@ -82,6 +82,10 @@ config USB_GADGET_BCM_UDC_OTG_PHY
        help
          Enable the Broadcom UDC OTG physical device interface.
 
+config USB_GADGET_AT91
+       bool "Atmel AT91 USB Gadget Controller"
+       depends on ARCH_AT91
+
 config USB_GADGET_DWC2_OTG
        bool "DesignWare USB2.0 HS OTG controller (gadget mode)"
        select USB_GADGET_DUALSPEED
index 794475942a23a01ef4b5824f856490582480a0e9..b988b96e58d8696bc81a8e4fe1aebb2154270148 100644 (file)
 #define CONFIG_USART_BASE              ATMEL_BASE_DBGU
 #define CONFIG_USART_ID                        ATMEL_ID_SYS
 
-/* USB DFU support */
-
-#define CONFIG_USB_GADGET_AT91
-
 /* DFU class support */
 #define DFU_MANIFEST_POLL_TIMEOUT      25000
 
index baaf94e2dd54cf1b88a4342aaff0c02b3a1feaec..30f842558207caa4212d9e8ba7ff4d88445aa984 100644 (file)
 #endif
 
 #if defined(CONFIG_BOARD_TAURUS)
-/* USB DFU support */
-
-#define CONFIG_USB_GADGET_AT91
-
 /* DFU class support */
 #define DFU_MANIFEST_POLL_TIMEOUT      25000
 #endif