[U-Boot] [PATCH] usb: mv_udc: Rename to ci_udc

Eric Nelson eric.nelson at boundarydevices.com
Thu Feb 6 04:11:05 CET 2014


Hi Marek,

On 02/05/2014 06:49 PM, Marek Vasut wrote:
> The mv_udc is not marvell-specific anymore. The mv_udc is used to drive
> generic ChipIdea CI13xxx series OTG cores, so rename the driver to ci_udc
> instead.
>

Sounds good.

> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Eric Nelson <eric.nelson at boundarydevices.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>   board/boundary/nitrogen6x/nitrogen6x.c    |   2 +-
>   drivers/serial/usbtty.h                   |   4 +-
>   drivers/usb/gadget/Makefile               |   2 +-
>   drivers/usb/gadget/{mv_udc.c => ci_udc.c} | 178 +++++++++++++++---------------
>   drivers/usb/gadget/{mv_udc.h => ci_udc.h} |  12 +-
>   drivers/usb/gadget/gadget_chips.h         |   8 +-
>   include/configs/nitrogen6x.h              |   2 +-
>   include/configs/sansa_fuze_plus.h         |   2 +-
>   include/configs/xfi3.h                    |   2 +-
>   include/usb/{mv_udc.h => ci_udc.h}        |   6 +-
>   10 files changed, 109 insertions(+), 109 deletions(-)
>   rename drivers/usb/gadget/{mv_udc.c => ci_udc.c} (79%)
>   rename drivers/usb/gadget/{mv_udc.h => ci_udc.h} (94%)
>   rename include/usb/{mv_udc.h => ci_udc.h} (73%)
>
> ...
> diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/ci_udc.c
> similarity index 79%
> rename from drivers/usb/gadget/mv_udc.c
> rename to drivers/usb/gadget/ci_udc.c
> index da41738..6c5ef4c 100644
> --- a/drivers/usb/gadget/mv_udc.c
> +++ b/drivers/usb/gadget/ci_udc.c
>
 > ...
 >

I think you missed the mvudc_probe() routine though:

> @@ -673,23 +673,23 @@ static int mvudc_probe(void)

Aside from that...

Reviewed-by: Eric Nelson <eric.nelson at boundarydevices.com>




More information about the U-Boot mailing list