mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
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>
This commit is contained in:
parent
9af5ba878a
commit
ada03c3c3d
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@
|
||||||
"if test ${dofastboot} -eq 1; then " \
|
"if test ${dofastboot} -eq 1; then " \
|
||||||
"echo Boot fastboot requested, resetting dofastboot ...;" \
|
"echo Boot fastboot requested, resetting dofastboot ...;" \
|
||||||
"setenv dofastboot 0; saveenv;" \
|
"setenv dofastboot 0; saveenv;" \
|
||||||
"echo Booting into fastboot ...; fastboot 0;" \
|
"echo Booting into fastboot ...; " \
|
||||||
|
"fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " \
|
||||||
"fi;" \
|
"fi;" \
|
||||||
"run findfdt; " \
|
"run findfdt; " \
|
||||||
"run envboot; " \
|
"run envboot; " \
|
||||||
|
|
Loading…
Reference in a new issue