Skip to contentSkip to conversation

Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

PATCH Superseded Adam Ford 2 participants 3 messages Dec 10, 2018 – Dec 11, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver.

drivers/usb/musb/Kconfig +0 -3
index dd42f69a6b..7e6be03f4a 100644
@@ -11,9 +11,6 @@ config USB_MUSB_HCD
 config USB_MUSB_UDC
 	bool "Legacy USB Device Controller"
 
-config USB_DAVINCI
-	bool "Legacy MUSB DaVinci"
-	
 config USB_OMAP3
 	bool "Legacy MUSB OMAP3 / OMAP4"
 	depends on ARCH_OMAP2PLUS
drivers/usb/musb/Makefile +0 -1
index bdb3cd87f6..1242ce1c8c 100644
@@ -5,7 +5,6 @@
 
 obj-$(CONFIG_USB_MUSB_HCD) += musb_hcd.o musb_core.o
 obj-$(CONFIG_USB_MUSB_UDC) += musb_udc.o musb_core.o
-obj-$(CONFIG_USB_DAVINCI) += davinci.o
 obj-$(CONFIG_USB_OMAP3) += omap3.o
 obj-$(CONFIG_USB_DA8XX) += da8xx.o
 obj-$(CONFIG_USB_AM35X) += am35x.o
drivers/usb/musb/musb_udc.c +0 -2
index f1d6d85862..7620114bec 100644
@@ -46,8 +46,6 @@
 #include "omap3.h"
 #elif defined(CONFIG_USB_AM35X)
 #include "am35x.h"
-#elif defined(CONFIG_USB_DAVINCI)
-#include "davinci.h"
 #endif
 
 /* Define MUSB_DEBUG for debugging */
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

Quoted 36 lines · Adam Ford

This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver.

drivers/usb/musb/Kconfig +0 -3
index dd42f69a6b..7e6be03f4a 100644
@@ -11,9 +11,6 @@ config USB_MUSB_HCD
  config USB_MUSB_UDC
  	bool "Legacy USB Device Controller"
 
-config USB_DAVINCI
-	bool "Legacy MUSB DaVinci"
-	
  config USB_OMAP3
  	bool "Legacy MUSB OMAP3 / OMAP4"
  	depends on ARCH_OMAP2PLUS
drivers/usb/musb/Makefile +0 -1
index bdb3cd87f6..1242ce1c8c 100644
@@ -5,7 +5,6 @@
 
  obj-$(CONFIG_USB_MUSB_HCD) += musb_hcd.o musb_core.o
  obj-$(CONFIG_USB_MUSB_UDC) += musb_udc.o musb_core.o
-obj-$(CONFIG_USB_DAVINCI) += davinci.o
  obj-$(CONFIG_USB_OMAP3) += omap3.o
  obj-$(CONFIG_USB_DA8XX) += da8xx.o
  obj-$(CONFIG_USB_AM35X) += am35x.o
drivers/usb/musb/musb_udc.c +0 -0
index f1d6d85862..7620114bec 100644

drivers/usb/musb/musb_udc.c line 51

Quoted 8 lines
drivers/usb/musb/musb_udc.c +0 -2
@@ -46,8 +46,6 @@
  #include "omap3.h"
  #elif defined(CONFIG_USB_AM35X)
  #include "am35x.h"
-#elif defined(CONFIG_USB_DAVINCI)
-#include "davinci.h"
  #endif
 
  /* Define MUSB_DEBUG for debugging */
#2 lore raw

PATCH 1/1 Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

Quoted 36 lines · Jean-Jacques Hiblot
Quoted 34 lines · Adam Ford

This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver.

drivers/usb/musb/Kconfig +0 -0
index dd42f69a6b..7e6be03f4a 100644
@@ -11,9 +11,6 @@ config USB_MUSB_HCD

  config USB_MUSB_UDC
      bool "Legacy USB Device Controller"
  -config USB_DAVINCI
-    bool "Legacy MUSB DaVinci"
-
  config USB_OMAP3
      bool "Legacy MUSB OMAP3 / OMAP4"
      depends on ARCH_OMAP2PLUS

drivers/usb/musb/Makefile +0 -0
index bdb3cd87f6..1242ce1c8c 100644
@@ -5,7 +5,6 @@

    obj-$(CONFIG_USB_MUSB_HCD) += musb_hcd.o musb_core.o obj-$(CONFIG_USB_MUSB_UDC) += musb_udc.o musb_core.o -obj-$(CONFIG_USB_DAVINCI) += davinci.o obj-$(CONFIG_USB_OMAP3) += omap3.o obj-$(CONFIG_USB_DA8XX) += da8xx.o obj-$(CONFIG_USB_AM35X) += am35x.o

drivers/usb/musb/musb_udc.c +0 -0
index f1d6d85862..7620114bec 100644
@@ -46,8 +46,6 @@
Quoted 8 lines

drivers/usb/musb/musb_udc.c line 51

Quoted 7 lines
drivers/usb/musb/musb_udc.c +0 -2
   #include "omap3.h"
   #elif defined(CONFIG_USB_AM35X)
   #include "am35x.h"
-#elif defined(CONFIG_USB_DAVINCI)
-#include "davinci.h"
   #endif
     /* Define MUSB_DEBUG for debugging */

This also could go further and remove:

- drivers/usb/musb/davinci.c

- drivers/usb/musb/davinci.h