[U-Boot] [PATCH V2] Convert CONFIG_USB_ULPI_TIMEOUT to Kconfig

Marek Vasut marex at denx.de
Thu Aug 2 14:14:34 UTC 2018


On 08/02/2018 04:02 PM, Adam Ford wrote:
> This converts the following to Kconfig:
>    CONFIG_USB_ULPI_TIMEOUT
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> ---
> V2: Make USB_ULPI_TIMEOUT depend on USB_ULPI
> 
> diff --git a/drivers/usb/ulpi/Kconfig b/drivers/usb/ulpi/Kconfig
> index 001564d40c..6a67f70411 100644
> --- a/drivers/usb/ulpi/Kconfig
> +++ b/drivers/usb/ulpi/Kconfig
> @@ -30,3 +30,10 @@ config USB_ULPI
>  	  PHY Transreceiver for USB controllers.
>  
>  	  This driver uses ULPI viewports that are specific for each SoC.
> +
> +config USB_ULPI_TIMEOUT
> +	int "ULPI Timeout (us)"
> +	depends on USB_ULPI
> +	default 1000 if USB_ULPI

But then the 'if USB_ULPI' is redundant ?

btw. give people some time to review a patch, don't immediately send a
new version.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list