usb: Select USB_MUSB_DSPS with USB_MUSB_TI
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 18 Apr 2019 11:10:50 +0000 (11:10 +0000)
committerMarek Vasut <marex@denx.de>
Fri, 19 Apr 2019 09:32:01 +0000 (11:32 +0200)
USB_MUSB_TI requires USB_MUSB_DSPS, failing at link time if it's not
selected:

  drivers/usb/musb-new/built-in.o: In function `ti_musb_host_ofdata_to_platdata':
  drivers/usb/musb-new/ti-musb.c:193: undefined reference to `musb_dsps_ops'

or if OF_CONTROL is not selected:

  arch/arm/mach-omap2/built-in.o:(.data.usb0+0x24): undefined reference to `musb_dsps_ops'

Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
configs/am335x_boneblack_vboot_defconfig
configs/am335x_evm_defconfig
configs/am335x_hs_evm_defconfig
configs/am335x_hs_evm_uart_defconfig
configs/brppt1_mmc_defconfig
configs/brppt1_nand_defconfig
configs/brppt1_spi_defconfig
configs/chiliboard_defconfig
drivers/usb/musb-new/Kconfig

index 6afda7245372f49583e0322e15b5d9a6e86370cd..ffe013fa2df7d7b136c66fb523e9e67764ac7d81 100644 (file)
@@ -56,7 +56,6 @@ CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
index a396a3931050f83d6843b53a453797234e70c2f5..105ff01d14de3f0d6ee58becb2bb8fe47da7a8a5 100644 (file)
@@ -64,7 +64,6 @@ CONFIG_SPL_DM_USB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
index 1746df90f411bcb79008e63220050d83bc3b9a0e..a37966bc6dcb3038e4e5a004abed4d8f3424db29 100644 (file)
@@ -60,7 +60,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
index d2d6f2fb6e4d11595d256642c1742e08f817864b..ff131eb60178d60d04b1c7e2037b19f25823bcaa 100644 (file)
@@ -62,7 +62,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
index 6b0d0242f2ebd5bb94e59543513032deb3b1ee48..63cb240ea89b1af23bd997a925f49da6ff806dba 100644 (file)
@@ -84,7 +84,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_FAT_WRITE=y
index 4578f74a62089265a9991d9f772097ac5e7d125b..57cd54bac26da6e16ee3d26ac551ce550999646a 100644 (file)
@@ -88,7 +88,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_FAT_WRITE=y
index 739b0786f34a8810dfbe3b6fd3d324e9bb14dab7..31ba5158b5865f9abd2f38b43dfb0ad8d83bc312 100644 (file)
@@ -99,7 +99,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_FAT_WRITE=y
index a6c36eda503d7377e698b15b4a76449459d293fb..944dd0db3c87164461bb909f1527020ca88b3324 100644 (file)
@@ -50,6 +50,5 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_TI=y
-CONFIG_USB_MUSB_DSPS=y
 CONFIG_FAT_WRITE=y
 CONFIG_LZO=y
index fdf9ca61da061419f775cdeb949aea744a2e5892..75005ccdd1b406c99abdec9b0edead4477ef5b73 100644 (file)
@@ -21,6 +21,7 @@ config USB_MUSB_GADGET
 config USB_MUSB_TI
        bool "Enable TI OTG USB controller"
        depends on DM_USB
+       select USB_MUSB_DSPS
        default n
        help
          Say y here to enable support for the dual role high