[U-Boot] [PATCH] usb: dwc3: Add missing dependency on MISC uclass

Marek Vasut marex at denx.de
Wed Dec 5 13:26:18 UTC 2018


On 12/05/2018 09:05 AM, Michal Simek wrote:
> Generic wrapper requires MISC uclass but dependency is not covered in
> Kconfig.
> 
>  misc        0  [ + ]   dwc3-generic-wrapper  |   |-- usb0 at ff9d0000
>  usb_dev_ge  0  [ + ]   dwc3-generic-periphe  |   |   `-- dwc3 at fe200000
>  misc        1  [   ]   dwc3-generic-wrapper  |   |-- usb1 at ff9e0000
>  usb         0  [   ]   dwc3-generic-host     |   |   `-- dwc3 at fe300000
>  watchdog    0  [ + ]   cdns_wdt              |   `-- watchdog at fd4d0000
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
> 
>  drivers/usb/dwc3/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
> index 943b7630eba4..9f0b8a2d0b4f 100644
> --- a/drivers/usb/dwc3/Kconfig
> +++ b/drivers/usb/dwc3/Kconfig
> @@ -39,7 +39,7 @@ config USB_DWC3_OMAP
>  
>  config USB_DWC3_GENERIC
>  	bool "Xilinx ZynqMP and similar Platforms"
> -	depends on DM_USB && USB_DWC3
> +	depends on DM_USB && USB_DWC3 && MISC

Platforms which do not select MISC will lose DWC3 now, did you verify
that no platform is affected ?

>  	help
>  	  Some platforms can reuse this DWC3 generic implementation.
>  
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list