[U-Boot] [PATCH v5] usb: new board-specific USB init interface

Marek Vasut marex at denx.de
Thu Oct 3 17:16:36 CEST 2013


Dear Mateusz Zalega,

> This commit unifies board-specific USB initialization implementations
> under one symbol (usb_board_init), declaration of which is available in
> usb.h.
> 
> New API allows selective initialization of USB controllers whenever needed.
> 
> Signed-off-by: Mateusz Zalega <m.zalega at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Reviewed-by: Lukasz Majewski <l.majewski at samsung.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> ---
> Changes since RFC (v1):
> - NVIDIA Tegra doesn't postpone its USB init anymore
> - board_usb_init()'s sole argument name was shortened
> - networking code comment style (/* blurb...) dropped
> - squashed RFC changes so that patch won't break bisect
> 
> v2 changes:
> - commit message fixup
> 
> v3 changes:
> - added 'index' argument to perform selective port initialization
> 
> v4 changes:
> - board_usb_init_fail() renamed to board_usb_cleanup()
> - board_usb_cleanup() accepts controller index and init type
> - DFU and UMS commands don't init all USB controllers anymore
> - minor related fixes & refactorization
> 
> v5 changes:
> - fixed an issue with boards based on canyonlands.c
> - patch passes MAKEALL -a powerpc (vide: ^)

Hey, can you please rebase on top of usb/next ? I'd like to run build tests and 
apply.

Best regards,
Marek Vasut


More information about the U-Boot mailing list