[U-Boot] [PATCH] Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI
Jean-Jacques Hiblot
jjhiblot at ti.com
Tue Dec 11 09:49:02 UTC 2018
On 10/12/2018 17:00, Adam Ford wrote:
> This patch removes CONFIG_USB_DAVINCI. It's a legacy option
> that isn't defined anywhere, and there is a newer MUSB driver.
>
> Signed-off-by: Adam Ford <aford173 at gmail.com>
>
> diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
> index dd42f69a6b..7e6be03f4a 100644
> --- a/drivers/usb/musb/Kconfig
> +++ b/drivers/usb/musb/Kconfig
> @@ -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
> diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile
> index bdb3cd87f6..1242ce1c8c 100644
> --- a/drivers/usb/musb/Makefile
> +++ b/drivers/usb/musb/Makefile
> @@ -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
> diff --git a/drivers/usb/musb/musb_udc.c b/drivers/usb/musb/musb_udc.c
> index f1d6d85862..7620114bec 100644
> --- a/drivers/usb/musb/musb_udc.c
> +++ b/drivers/usb/musb/musb_udc.c
> @@ -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 */
Reviewed-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
More information about the U-Boot
mailing list