Re: [PATCH 1/3] usb: kconfig: remove dependency FSL_SOC for ehci fsl driver

From: Alan Stern
Date: Tue Jan 08 2019 - 11:11:40 EST


On Tue, 8 Jan 2019, Ran Wang wrote:

> From: Rajesh Bhagat <rajesh.bhagat@xxxxxxx>
>
> CONFIG_USB_EHCI_FSL is not dependent on FSL_SOC, it can be built on
> non-PPC platforms.
>
> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@xxxxxxx>
> Signed-off-by: Ran Wang <ran.wang_1@xxxxxxx>
> ---
> drivers/usb/host/Kconfig | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 16758b1..53cbc0c 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -179,8 +179,8 @@ config XPS_USB_HCD_XILINX
> devices only.
>
> config USB_EHCI_FSL
> - tristate "Support for Freescale PPC on-chip EHCI USB controller"
> - depends on FSL_SOC
> + tristate "Support for Freescale on-chip EHCI USB controller"
> + depends on USB_EHCI_HCD

This line is not needed. The entire entry lies within an "if
USB_EHCI_HCD" block.

Alan Stern

> select USB_EHCI_ROOT_HUB_TT
> ---help---
> Variation of ARC USB block used in some Freescale chips.
>