Re: Droid 4: very confusing config around OHCI_OMAP3_HCD
From: Tony Lindgren
Date: Thu May 03 2018 - 18:07:26 EST
* Pavel Machek <pavel@xxxxxx> [180503 19:40]:
> On Thu 2018-05-03 12:28:38, Tony Lindgren wrote:
> Ok, what about this? (Should I do the same for the other drivers?)
> Or at least put (DEPRECATED) as other drivers do?
>
> Situation is quite confusing if you already have PLATFORM=y. OMAP=m
> can be selected, but nothing happens.
Sure works for me, let's see what linux-usb people think.
Regards,
Tony
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 5d958da..67c151a 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -455,7 +455,7 @@ config USB_OHCI_HCD_AT91
> Atmel chips.
>
> config USB_OHCI_HCD_OMAP3
> - tristate "OHCI support for OMAP3 and later chips"
> + tristate "dummy option for backwards compatibility"
> depends on (ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5)
> select USB_OHCI_HCD_PLATFORM
> default y
> @@ -463,9 +463,6 @@ config USB_OHCI_HCD_OMAP3
> This option is deprecated now and the driver was removed, use
> USB_OHCI_HCD_PLATFORM instead.
>
> - Enables support for the on-chip OHCI controller on
> - OMAP3 and later chips.
> -
> config USB_OHCI_HCD_DAVINCI
> tristate "OHCI support for TI DaVinci DA8xx"
> depends on ARCH_DAVINCI_DA8XX
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html