usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig
Move CONFIG_USB_GADGET_DUALSPEED option to Kconfig and
make all UDC controllers select USB_GADGET_DUALSPEED:
- add next options to Kconfig selecting USB_GADGET_DUALSPEED:
- USB_GADGET_ATMEL_USBA
- USB_GADGET_DWC2_OTG
- USB_DWC3
- CI_UDC
- make USB_MUSB_GADGET select USB_GADGET_DUALSPEED
While at it, make some related fixes:
- remove DUALSPEED from configs that don't enable gadget support:
- kwb.h
- tseries.h
- add missing USB_GADGET option to next configs:
- novena_defconfig
- pcm051_rev*_defconfig
- xfi3_defconfig
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
This commit is contained in:
committed by
Marek Vasut
parent
a59a77f863
commit
3457bbaf22
@@ -285,11 +285,9 @@
|
||||
*/
|
||||
#define CONFIG_USB_MUSB_DSPS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_MUSB_HOST
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
#endif /* CONFIG_USB_MUSB_HOST */
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#endif /* CONFIG_USB_MUSB_GADGET */
|
||||
|
||||
@@ -123,21 +123,22 @@
|
||||
|
||||
/* USB GADGET */
|
||||
#if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||
#undef CONFIG_USB_DWC3
|
||||
|
||||
#undef CONFIG_USB_GADGET_VBUS_DRAW
|
||||
#undef CONFIG_USB_GADGET_DUALSPEED
|
||||
#endif
|
||||
|
||||
#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_USB_DWC3
|
||||
#define CONFIG_USB_DWC3_GADGET
|
||||
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x0403
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -271,11 +271,9 @@
|
||||
*/
|
||||
#define CONFIG_USB_MUSB_DSPS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
#define CONFIG_USBDOWNLOAD_GADGET
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_MUSB_HOST
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_HOST
|
||||
|
||||
@@ -436,11 +436,9 @@ DEFAULT_LINUX_BOOT_ENV \
|
||||
*/
|
||||
#define CONFIG_USB_MUSB_DSPS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_MUSB_HOST
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
|
||||
|
||||
@@ -138,8 +138,6 @@
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
#define CONFIG_FASTBOOT_BUF_SIZE (CONFIG_SYS_SDRAM_SIZE - SZ_1M)
|
||||
#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_SDRAM_BASE
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG
|
||||
#define CONFIG_USB_GADGET_BCM_UDC_OTG_PHY
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_USBID_ADDR 0x34052c46
|
||||
|
||||
@@ -86,9 +86,7 @@
|
||||
#define CONFIG_USB_KEYBOARD
|
||||
#define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP
|
||||
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
@@ -233,8 +233,6 @@
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
|
||||
/* USB Client Support */
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_TRDX_VID 0x1B67
|
||||
#define CONFIG_TRDX_PID_COLIBRI_VF50 0x0016
|
||||
#define CONFIG_TRDX_PID_COLIBRI_VF61 0x0017
|
||||
|
||||
@@ -117,9 +117,6 @@
|
||||
#define CONFIG_MTD_DEVICE
|
||||
#define CONFIG_MTD_PARTITIONS
|
||||
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
|
||||
/* DFU class support */
|
||||
#define CONFIG_CMD_DFU
|
||||
#define CONFIG_USB_FUNCTION_DFU
|
||||
|
||||
@@ -229,14 +229,12 @@
|
||||
/* USB GADGET */
|
||||
#define CONFIG_USB_DWC3_PHY_OMAP
|
||||
#define CONFIG_USB_DWC3_OMAP
|
||||
#define CONFIG_USB_DWC3
|
||||
#define CONFIG_USB_DWC3_GADGET
|
||||
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x0451
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0xd022
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/* USB Device Firmware Update support */
|
||||
#define CONFIG_USB_FUNCTION_DFU
|
||||
|
||||
@@ -50,9 +50,7 @@
|
||||
|
||||
#define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Reserve 2 sectors */
|
||||
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG_PHY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
@@ -184,9 +184,7 @@
|
||||
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
#define CONFIG_MXC_USB_FLAGS 0
|
||||
#define CONFIG_USB_KEYBOARD
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_CDC
|
||||
#define CONFIG_NETCONSOLE
|
||||
|
||||
@@ -184,8 +184,6 @@
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_OMAP2PLUS
|
||||
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/*
|
||||
* Download
|
||||
*/
|
||||
|
||||
@@ -122,8 +122,6 @@ BUR_COMMON_ENV \
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
/* attention! not only for gadget, enables also highspeed in hostmode */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_HOST
|
||||
#define CONFIG_AM335X_USB1
|
||||
|
||||
@@ -131,8 +131,6 @@
|
||||
#define CONFIG_USB_STORAGE
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_MANUFACTURER "DENX"
|
||||
|
||||
@@ -234,9 +234,7 @@
|
||||
#define CONFIG_IMX_VIDEO_SKIP
|
||||
|
||||
#ifndef CONFIG_SPL
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
@@ -257,9 +257,7 @@
|
||||
|
||||
#define CONFIG_IMX_THERMAL
|
||||
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_MISC_INIT_R
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_CDC
|
||||
#define CONFIG_NETCONSOLE
|
||||
|
||||
@@ -165,9 +165,7 @@
|
||||
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
#define CONFIG_MXC_USB_FLAGS 0
|
||||
/* Gadget part */
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_CDC
|
||||
#define CONFIG_NETCONSOLE
|
||||
|
||||
@@ -48,13 +48,9 @@
|
||||
#define CONFIG_USB_EHCI_EXYNOS
|
||||
|
||||
/* DWC3 */
|
||||
#define CONFIG_USB_DWC3
|
||||
#define CONFIG_USB_DWC3_GADGET
|
||||
#define CONFIG_USB_DWC3_PHY_SAMSUNG
|
||||
|
||||
/* USB gadget */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/* Downloader */
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x04E8
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0x6601
|
||||
|
||||
@@ -59,10 +59,8 @@
|
||||
#define CONFIG_SYS_I2C_NOPROBES {{0x0, 0x0}}
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_OMAP2PLUS
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_TWL4030_USB 1
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETHER_RNDIS
|
||||
|
||||
@@ -79,10 +79,8 @@
|
||||
#define CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_OMAP2PLUS
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETHER_RNDIS
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
|
||||
@@ -102,14 +102,12 @@
|
||||
/* USB GADGET */
|
||||
#define CONFIG_USB_DWC3_PHY_OMAP
|
||||
#define CONFIG_USB_DWC3_OMAP
|
||||
#define CONFIG_USB_DWC3
|
||||
#define CONFIG_USB_DWC3_GADGET
|
||||
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x0403
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/* USB Device Firmware Update support */
|
||||
#define CONFIG_USB_FUNCTION_DFU
|
||||
|
||||
@@ -141,9 +141,7 @@
|
||||
*/
|
||||
#define CONFIG_USB_MUSB_DSPS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_MUSB_HOST
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
|
||||
|
||||
@@ -196,10 +196,8 @@
|
||||
*/
|
||||
#define CONFIG_USB_MUSB_DSPS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_MUSB_HOST
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
|
||||
|
||||
@@ -270,9 +270,7 @@
|
||||
#define CONFIG_SYS_I2C_INIT_BOARD
|
||||
|
||||
#define CONFIG_SYS_MAX_I2C_BUS 7
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG_PHY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
|
||||
@@ -176,9 +176,7 @@
|
||||
#define CONFIG_POWER_I2C
|
||||
#define CONFIG_POWER_MAX8998
|
||||
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG_PHY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/*
|
||||
* SPI Settings
|
||||
|
||||
@@ -74,8 +74,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D2 XPlained"
|
||||
|
||||
@@ -140,8 +140,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D3xEK"
|
||||
|
||||
@@ -83,8 +83,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D4EK"
|
||||
|
||||
@@ -83,8 +83,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D4EK"
|
||||
|
||||
@@ -54,9 +54,6 @@
|
||||
#define CONFIG_EHCI_MXS_PORT0
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
#define CONFIG_CI_UDC /* ChipIdea CI13xxx UDC */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_CDC
|
||||
#define CONFIG_NETCONSOLE
|
||||
|
||||
@@ -221,7 +221,6 @@
|
||||
*/
|
||||
#define CONFIG_USB_MUSB_DSPS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
#undef CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
@@ -201,8 +201,6 @@
|
||||
#define CONFIG_USB_MUSB_OMAP2PLUS
|
||||
#define CONFIG_TWL4030_USB
|
||||
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/*
|
||||
* Download
|
||||
*/
|
||||
|
||||
@@ -250,9 +250,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
|
||||
* USB Gadget (DFU, UMS)
|
||||
*/
|
||||
#if defined(CONFIG_CMD_DFU) || defined(CONFIG_CMD_USB_MASS_STORAGE)
|
||||
#define CONFIG_USB_GADGET_DWC2_OTG
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
/* USB Composite download gadget - g_dnl */
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
@@ -342,7 +342,6 @@ extern int soft_i2c_gpio_scl;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_USB_FUNCTION_DFU
|
||||
|
||||
@@ -128,10 +128,8 @@
|
||||
#define CONFIG_USB_STORAGE
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#ifdef CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x0525
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5
|
||||
|
||||
@@ -10,9 +10,7 @@
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
/* USB gadget mode support*/
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_CI_UDC_HAS_HOSTPC
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#ifndef CONFIG_G_DNL_VENDOR_NUM
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x0955
|
||||
#endif
|
||||
|
||||
@@ -249,8 +249,6 @@ MMCARGS
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
|
||||
/* attention! not only for gadget, enables also highspeed in hostmode */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_AM335X_USB0
|
||||
#define CONFIG_AM335X_USB0_MODE MUSB_HOST
|
||||
#define CONFIG_AM335X_USB1
|
||||
|
||||
@@ -86,8 +86,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_GADGET_ATMEL_USBA
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_MANUFACTURER "L+G VInCo"
|
||||
|
||||
@@ -74,9 +74,7 @@
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 /* Only OTG2 port enabled */
|
||||
#endif
|
||||
|
||||
#define CONFIG_CI_UDC
|
||||
#define CONFIG_USBD_HS
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
|
||||
@@ -53,9 +53,6 @@
|
||||
#define CONFIG_EHCI_MXS_PORT0
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
#define CONFIG_CI_UDC /* ChipIdea CI13xxx UDC */
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_CDC
|
||||
#define CONFIG_NETCONSOLE
|
||||
|
||||
@@ -122,11 +122,9 @@
|
||||
#define CONFIG_USB_STORAGE
|
||||
#define CONFIG_USB_XHCI_ZYNQMP
|
||||
|
||||
#define CONFIG_USB_DWC3
|
||||
#define CONFIG_USB_DWC3_GADGET
|
||||
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USBDOWNLOAD_GADGET
|
||||
#define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x1800000
|
||||
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||
|
||||
@@ -98,8 +98,6 @@
|
||||
# define CONFIG_EHCI_IS_TDI
|
||||
# define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
||||
|
||||
# define CONFIG_CI_UDC /* ChipIdea CI13xxx UDC */
|
||||
# define CONFIG_USB_GADGET_DUALSPEED
|
||||
# define CONFIG_USB_GADGET_DOWNLOAD
|
||||
# define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x600000
|
||||
# define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||
|
||||
Reference in New Issue
Block a user