]> git.dujemihanovic.xyz Git - u-boot.git/commit
ti_omap5_common: Respect USB controller number in fastboot
authorSemen Protsenko <semen.protsenko@linaro.org>
Mon, 24 Oct 2016 15:41:11 +0000 (18:41 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 18:59:26 +0000 (13:59 -0500)
commitada03c3c3d41ba9b9886c5d4ba75e744c2b0cf88
treeeffdcdf22a3f1658d6814bb471e20fa8648368f3
parent9af5ba878a8cca5af6e03b701367cf28bef39d6d
ti_omap5_common: Respect USB controller number in fastboot

On "fastboot reboot-bootloader" we check "dofastboot" variable and do
"fastboot 0" command in U-Boot if it's 1. But there are boards which have
USB controller number other than 0, so it should be respected when
performing "fastboot" command.

This patch reuses CONFIG_FASTBOOT_USB_DEV option toprovide correct USB
controller number to "fastboot" command.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/ti_omap5_common.h