From: Marek Vasut Date: Wed, 21 Aug 2013 05:33:54 +0200 Subject: [U-Boot] [PATCH] usb: new board-specific USB init interface In-Reply-To: <1377005736-21017-1-git-send-email-m.zalega@samsung.com> References: <1375786242-11734-1-git-send-email-m.zalega@samsung.com> <1377005736-21017-1-git-send-email-m.zalega@samsung.com> Message-ID: <201308210533.54662.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > > --- > Changes since RFC: > - 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 > > Signed-off-by: Mateusz Zalega > Signed-off-by: Kyungmin Park > Reviewed-by: Lukasz Majewski > Cc: Minkyu Kang > Cc: Marek Vasut > Cc: Tom Warren > Cc: Albert Aribaud > --- > arch/arm/include/asm/arch-tegra/usb.h | 3 +-- > board/amcc/canyonlands/canyonlands.c | 5 +++-- > board/balloon3/balloon3.c | 5 +++-- > board/esd/apc405/apc405.c | 5 +++-- > board/esd/pmc440/pmc440.c | 5 +++-- > board/icpdas/lp8x4x/lp8x4x.c | 5 +++-- > board/nvidia/common/board.c | 4 +++- > board/samsung/trats/trats.c | 5 +++-- > board/toradex/colibri_pxa270/colibri_pxa270.c | 5 +++-- > board/trizepsiv/conxs.c | 5 +++-- > board/vpac270/vpac270.c | 5 +++-- > common/cmd_dfu.c | 5 ++--- > common/cmd_usb_mass_storage.c | 3 ++- > common/usb.c | 5 +++++ > drivers/usb/host/ehci-omap.c | 8 +------- > drivers/usb/host/ehci-tegra.c | 2 +- > drivers/usb/host/ohci-hcd.c | 4 ++-- > drivers/usb/host/ohci.h | 12 +++++------- > include/g_dnl.h | 2 -- > include/usb.h | 19 ++++++++++++++++++- > include/usb_mass_storage.h | 12 +++++------- > 21 files changed, 72 insertions(+), 52 deletions(-) The EHCI supports multi-bus thing (passing the controller *), will this be viable to pass in this case too, so the busses can be inited selectively in host/gadget functions? Best regards, Marek Vasut