diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-06-12 17:57:00 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-07-22 06:57:53 (GMT) |
commit | 8d2f0039f00f6a07298545ec2b913ef9f5f5ce25 (patch) | |
tree | c75d8b7d4b421d4bb7fec136466303b7df25a526 /drivers | |
parent | 17da3c0c8cad2a40903c078d178cd663d73ccc7c (diff) | |
download | u-boot-8d2f0039f00f6a07298545ec2b913ef9f5f5ce25.tar.xz |
usb: board_usb_init and board_usb_cleanup calls in the fastboot command
Each USB download function command calls board_usb_init before registering the
USB gadget and board_usb_cleanup after de-registering it. On devices currently
using fasboot, musb-new is usually initialized earlier, but some other boards
might need the board_usb_init call to properly initialize musb-new.
This requires adding an argument (the USB controller index) to the fastboot
command, as it is currently done with other USB download gadget functions.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions