[U-Boot] [PATCH] usb: dwc2: Add brcm,bcm2708-usb compatible

Marek Vasut marex at denx.de
Mon Jul 2 12:41:11 UTC 2018


On 07/02/2018 02:34 PM, Emmanuel Vadot wrote:
> When using CONFIG_OF_BOARD on rpi to use the dtb provided by the
> RaspberryPi Fundation, the compatible string isn't the same, resulting
> in not-functional usb from u-boot.
> 
> Signed-off-by: Oleksandr Tymoshenko <gonzo at FreeBSD.org>
> Signed-off-by: Emmanuel Vadot <manu at freebsd.org>
> ---
>  drivers/usb/host/dwc2.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
> index dd956110fc..cbe065bbaf 100644
> --- a/drivers/usb/host/dwc2.c
> +++ b/drivers/usb/host/dwc2.c
> @@ -1314,6 +1314,7 @@ struct dm_usb_ops dwc2_usb_ops = {
>  
>  static const struct udevice_id dwc2_usb_ids[] = {
>  	{ .compatible = "brcm,bcm2835-usb" },
> +	{ .compatible = "brcm,bcm2708-usb" },
>  	{ .compatible = "snps,dwc2" },
>  	{ }
>  };
> 
Applied, thanks

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list