diff options
author | Semen Protsenko <semen.protsenko@linaro.org> | 2016-10-24 18:41:10 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-21 13:59:26 -0500 |
commit | 9af5ba878a8cca5af6e03b701367cf28bef39d6d (patch) | |
tree | 2352325bef7d96ade32f95661e691bf397cdffdd /drivers/mmc/pic32_sdhci.c | |
parent | 140d76a9ee22472bd3f8fc8066421219f45aa7c3 (diff) | |
download | u-boot-imx-9af5ba878a8cca5af6e03b701367cf28bef39d6d.zip u-boot-imx-9af5ba878a8cca5af6e03b701367cf28bef39d6d.tar.gz u-boot-imx-9af5ba878a8cca5af6e03b701367cf28bef39d6d.tar.bz2 |
fastboot: Add CONFIG_FASTBOOT_USB_DEV option
Some boards (like AM57x EVM) has USB OTG controller other than 0. So in
order to use correct controller number in compiled environment we should
define CONFIG_FASTBOOT_USB_DEV option.
For example, when doing "fastboot reboot-bootloader" we want to enter
fastboot mode automatically. But to do so we need to provide controller
number to "fastboot" command. If this procedure is defined in some config
which is common to bunch of boards, and boards have different USB
controller numbers, we can't just hardcode "fastboot 0" in the
environment. We need to use configurable option, which this patch adds.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/pic32_sdhci.c')
0 files changed, 0 insertions, 0 deletions