Convert CONFIG_USB_GADGET_AT91 to Kconfig
This converts the following to Kconfig: CONFIG_USB_GADGET_AT91 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
08d01cda45
commit
a9c3bce362
@ -97,6 +97,7 @@ CONFIG_USB_GADGET=y
|
|||||||
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
||||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
||||||
CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
|
||||||
|
CONFIG_USB_GADGET_AT91=y
|
||||||
CONFIG_USB_GADGET_DOWNLOAD=y
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
||||||
CONFIG_WDT=y
|
CONFIG_WDT=y
|
||||||
CONFIG_WDT_AT91=y
|
CONFIG_WDT_AT91=y
|
||||||
|
@ -115,6 +115,7 @@ CONFIG_USB_GADGET=y
|
|||||||
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
||||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
||||||
CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
|
||||||
|
CONFIG_USB_GADGET_AT91=y
|
||||||
CONFIG_USB_GADGET_DOWNLOAD=y
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
||||||
CONFIG_WDT=y
|
CONFIG_WDT=y
|
||||||
CONFIG_WDT_AT91=y
|
CONFIG_WDT_AT91=y
|
||||||
|
@ -82,6 +82,10 @@ config USB_GADGET_BCM_UDC_OTG_PHY
|
|||||||
help
|
help
|
||||||
Enable the Broadcom UDC OTG physical device interface.
|
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
|
config USB_GADGET_DWC2_OTG
|
||||||
bool "DesignWare USB2.0 HS OTG controller (gadget mode)"
|
bool "DesignWare USB2.0 HS OTG controller (gadget mode)"
|
||||||
select USB_GADGET_DUALSPEED
|
select USB_GADGET_DUALSPEED
|
||||||
|
@ -64,10 +64,6 @@
|
|||||||
#define CONFIG_USART_BASE ATMEL_BASE_DBGU
|
#define CONFIG_USART_BASE ATMEL_BASE_DBGU
|
||||||
#define CONFIG_USART_ID ATMEL_ID_SYS
|
#define CONFIG_USART_ID ATMEL_ID_SYS
|
||||||
|
|
||||||
/* USB DFU support */
|
|
||||||
|
|
||||||
#define CONFIG_USB_GADGET_AT91
|
|
||||||
|
|
||||||
/* DFU class support */
|
/* DFU class support */
|
||||||
#define DFU_MANIFEST_POLL_TIMEOUT 25000
|
#define DFU_MANIFEST_POLL_TIMEOUT 25000
|
||||||
|
|
||||||
|
@ -62,10 +62,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_BOARD_TAURUS)
|
#if defined(CONFIG_BOARD_TAURUS)
|
||||||
/* USB DFU support */
|
|
||||||
|
|
||||||
#define CONFIG_USB_GADGET_AT91
|
|
||||||
|
|
||||||
/* DFU class support */
|
/* DFU class support */
|
||||||
#define DFU_MANIFEST_POLL_TIMEOUT 25000
|
#define DFU_MANIFEST_POLL_TIMEOUT 25000
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user