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

2013-10-08 Thread Marek Vasut
Dear Troy Kisky, > On 10/7/2013 3:32 AM, Mateusz Zalega wrote: > > On 10/05/13 02:48, Troy Kisky wrote: > >> On 10/4/2013 10:22 AM, Mateusz Zalega wrote: > >>>+/* > >>> > >>> + * You can initialize platform's USB host or device > >>> + * ports by passing this enum as an argument to > >>> + *

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

2013-10-07 Thread Troy Kisky
On 10/7/2013 3:32 AM, Mateusz Zalega wrote: On 10/05/13 02:48, Troy Kisky wrote: On 10/4/2013 10:22 AM, Mateusz Zalega wrote: +/* + * You can initialize platform's USB host or device + * ports by passing this enum as an argument to + * board_usb_init(). + */ +enum board_usb_init_type { +

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

2013-10-07 Thread Mateusz Zalega
On 10/05/13 02:48, Troy Kisky wrote: > On 10/4/2013 10:22 AM, Mateusz Zalega wrote: >> +/* >> + * You can initialize platform's USB host or device >> + * ports by passing this enum as an argument to >> + * board_usb_init(). >> + */ >> +enum board_usb_init_type { >> +USB_INIT_HOST, >> +USB

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

2013-10-06 Thread Marek Vasut
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 > Sig

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

2013-10-04 Thread Troy Kisky
On 10/4/2013 10:22 AM, Mateusz Zalega wrote: +/* + * You can initialize platform's USB host or device + * ports by passing this enum as an argument to + * board_usb_init(). + */ +enum board_usb_init_type { + USB_INIT_HOST, + USB_INIT_DEVICE +}; + I'm a little late to the game, but

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

2013-10-04 Thread 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 Signed-off-by: Kyungmin Park Reviewed-by