configs: Migrate USB_MUSB_DISABLE_BULK_COMBINE_SPLIT to Kconfig
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 12 Apr 2019 10:51:05 +0000 (10:51 +0000)
committerMarek Vasut <marex@denx.de>
Fri, 19 Apr 2019 09:31:58 +0000 (11:31 +0200)
Migrate support for disable MUSB bulk split/combine to Kconfig

Green Travis build:

https://travis-ci.org/akiernan/u-boot/builds/519101867

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
drivers/usb/musb-new/Kconfig
include/configs/am335x_evm.h
include/configs/baltos.h
include/configs/bav335x.h
include/configs/brppt1.h
include/configs/brxre1.h
include/configs/chiliboard.h
include/configs/pengwyn.h
include/configs/siemens-am33x-common.h
scripts/config_whitelist.txt

index f8f2205a62d317b63b0bc771a6bf6a1945b5e801..fdf9ca61da061419f775cdeb949aea744a2e5892 100644 (file)
@@ -54,6 +54,15 @@ config USB_MUSB_SUNXI
        Say y here to enable support for the sunxi OTG / DRC USB controller
        used on almost all sunxi boards.
 
+config USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
+       bool "Disable MUSB bulk split/combine"
+       default y
+       help
+         On TI AM335x devices, MUSB has bulk split/combine feature enabled
+         in the ConfigData register, but the current MUSB driver does not
+         support it yet. Select this option to disable the feature until the
+         driver adds the support.
+
 endif
 
 config USB_MUSB_PIO_ONLY
index 0834ff502193cf2e8dd26fe4b2abfc5e3cc8aa42..7721907d8f0db2ca3df5de7a2fe669548f36651a 100644 (file)
  * add mass storage support and for gadget we add both RNDIS ethernet
  * and DFU.
  */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
 #define CONFIG_AM335X_USB0
 #define CONFIG_AM335X_USB0_MODE        MUSB_PERIPHERAL
 #define CONFIG_AM335X_USB1
index ccbdc0a335664787fdccbbae10fec1d7d2b679b3..98ec0d626ea873fdabe099a9cc8e7798dd4b2019 100644 (file)
  * add mass storage support and for gadget we add both RNDIS ethernet
  * and DFU.
  */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
 #define CONFIG_AM335X_USB0
 #define CONFIG_AM335X_USB0_MODE        MUSB_HOST
 #define CONFIG_AM335X_USB1
index fb9c2a6d04d0e143238eed355f4ffe0cec4f9b3d..3d4d08aa70e10645fde27682a703e2f03ab7344c 100644 (file)
@@ -387,7 +387,6 @@ DEFAULT_LINUX_BOOT_ENV \
  * add mass storage support and for gadget we add both RNDIS ethernet
  * and DFU.
  */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
 #define CONFIG_AM335X_USB0
 #define CONFIG_AM335X_USB0_MODE        MUSB_PERIPHERAL
 #define CONFIG_AM335X_USB1
index ae9b75bb87ad0c65a101b1efe60f444d9bd14570..84c801d10a992faa20a623f511a3a2692e27c47a 100644 (file)
@@ -182,9 +182,6 @@ NANDTGTS \
 #define CONFIG_NAND_OMAP_GPMC_WSCFG    1
 #endif /* CONFIG_NAND */
 
-/* USB configuration */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
-
 #if defined(CONFIG_SPI)
 /* SPI Flash */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS             0x40000
index 601b30dffd5fa9661920bf684e4fb4cd52a95ee4..7309e7d4831d2401467b73d60fe781733a7b4764 100644 (file)
@@ -68,9 +68,6 @@ BUR_COMMON_ENV \
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_INITRD_TAG
 
-/* USB configuration */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
-
 /* Environment */
 #define CONFIG_SYS_MMC_ENV_DEV         1
 #define CONFIG_SYS_MMC_ENV_PART                2
index 4372280d2bbe7ae63f36be47c71485e919c99b20..db990fcb2b474df294bfc7f1f93fb1ed9be3c8af 100644 (file)
 
 /* USB configuration */
 #define CONFIG_ARCH_MISC_INIT
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
 #define CONFIG_AM335X_USB1
 #define CONFIG_AM335X_USB1_MODE MUSB_HOST
 
index 48f1f7baccba1616885a4185204e251675e2ccb5..a535d0c2f2d02a4558fcb234dd7961941c4ce64f 100644 (file)
  * board schematic and physical port wired to each.  Then for host we
  * add mass storage support.
  */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
 #define CONFIG_AM335X_USB0
 #define CONFIG_AM335X_USB0_MODE        MUSB_PERIPHERAL
 #define CONFIG_AM335X_USB1
index f44a4280f435bb02e6831e118291fe1eb83c2108..1170f24748d9d6d718362adcae1b19eee189b200 100644 (file)
 /*
  * USB configuration
  */
-#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
-
 #define CONFIG_AM335X_USB0
 #define CONFIG_AM335X_USB0_MODE        MUSB_PERIPHERAL
 #define CONFIG_AM335X_USB1
index 5092c3fb4ce573c3a5e6ab759d5291499560259d..421362d9532fa2fa1f369dce9a4cf0ef34dcbc2d 100644 (file)
@@ -4537,7 +4537,6 @@ CONFIG_USB_GADGET_SUPERH
 CONFIG_USB_INVENTRA_DMA
 CONFIG_USB_ISP1301_I2C_ADDR
 CONFIG_USB_MAX_CONTROLLER_COUNT
-CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
 CONFIG_USB_MUSB_TIMEOUT
 CONFIG_USB_MUSB_TUSB6010
 CONFIG_USB_OHCI_EP93XX