[U-Boot] [PATCH v2] usb:ci_udc: Remove ULPI setting for i.MX OTG controller

Stephen Warren swarren at wwwdotorg.org
Mon Nov 9 16:16:37 CET 2015


On 11/09/2015 02:03 AM, Ye.Li wrote:
> All the i.MX6, i.MX23 and i.MX28 OTG controllers only support UTMI interface.
> Set to ULPI is not correct, even the controller will reject this
> setting in PORTSC register.

> diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c

> @@ -1018,18 +1018,10 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver)
>   		return ret;
>
>   	ret = ci_udc_probe();
...
> +    if (ret) {
> +		DBG("udc probe failed, returned %d\n", ret);
> +		return ret;
>   	}

The indentation of the "if" line is incorrect.



More information about the U-Boot mailing list