mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-24 16:11:27 +02:00
iot2050: Allow for more than 1 USB storage device
This was lost in refactoring while some users of the IOT2050 expect it to work: Make sure that up to 3 USB storage devices are probed. Fixes: 53873974a4b0 ("include: armv7: Enable distroboot across all configs") Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
e9bf0ce6c1
commit
fef1ecf415
@ -15,6 +15,15 @@
|
|||||||
|
|
||||||
#include <configs/ti_armv7_common.h>
|
#include <configs/ti_armv7_common.h>
|
||||||
|
|
||||||
|
/* allow up to 3 USB storage devices */
|
||||||
|
#ifdef CONFIG_CMD_USB
|
||||||
|
#undef BOOT_TARGET_USB
|
||||||
|
#define BOOT_TARGET_USB(func) \
|
||||||
|
func(USB, usb, 0) \
|
||||||
|
func(USB, usb, 1) \
|
||||||
|
func(USB, usb, 2)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This defines all MMC devices, even if the basic variant has no mmc1.
|
* This defines all MMC devices, even if the basic variant has no mmc1.
|
||||||
* The non-supported device will be removed from the boot targets during
|
* The non-supported device will be removed from the boot targets during
|
||||||
|
Loading…
x
Reference in New Issue
Block a user