diff options
author | Jan Kiszka | 2023-10-22 20:07:26 +0200 |
---|---|---|
committer | Tom Rini | 2023-10-28 09:18:19 -0400 |
commit | fef1ecf4150c63be0c8182b5edcb8cf5aa45dffc (patch) | |
tree | 5383e3bb21a2fb3d69a882597711d3b8a321518e /include | |
parent | e9bf0ce6c1e987e7af859e94e5e6ce44dfb4ede0 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/iot2050.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/iot2050.h b/include/configs/iot2050.h index 4968722d18f..94a9c767882 100644 --- a/include/configs/iot2050.h +++ b/include/configs/iot2050.h @@ -15,6 +15,15 @@ #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. * The non-supported device will be removed from the boot targets during |