]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 29 Nov 2018 09:52:41 +0000 (10:52 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 7 Dec 2018 15:31:45 +0000 (16:31 +0100)
commita06955ae1ef2a942f18025d4fefceea2c638a76f
tree2796cd005202d59118724ce82b10f348b52e9654
parent57dbc151437b36cc1105857d222df28b095236d7
usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers

Add 2 functions to wrap the calls to board_usb_init() and
board_usb_cleanup().
This is a preparatory work for DM support for UDC drivers (DM_USB_GADGET).

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
cmd/fastboot.c
cmd/rockusb.c
cmd/thordown.c
cmd/usb_gadget_sdp.c
cmd/usb_mass_storage.c
common/dfu.c
drivers/usb/gadget/ether.c
include/linux/usb/gadget.h