diff options
| author | Marek Vasut <[email protected]> | 2021-02-12 13:50:52 +0100 |
|---|---|---|
| committer | Patrick Delaunay <[email protected]> | 2021-02-26 15:39:12 +0100 |
| commit | 0bbfae717f4a42bfac728c116d33615cef032723 (patch) | |
| tree | 656767e2ff1e5b4d7ba97fbb7d33124d79156b6d /include | |
| parent | c28d5d704d3347fcbe5e49ab561973c00bf9337f (diff) | |
ARM: stm32: Add USB host boot support
Add support for booting from USB pen drive, since USB host port is
available on the STM32MP1.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/stm32mp1.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index c5539285af1..36e400453ea 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -102,11 +102,18 @@ #define BOOT_TARGET_UBIFS(func) #endif +#ifdef CONFIG_USB +#define BOOT_TARGET_USB(func) func(USB, usb, 0) +#else +#define BOOT_TARGET_USB(func) +#endif + #define BOOT_TARGET_DEVICES(func) \ BOOT_TARGET_MMC1(func) \ BOOT_TARGET_UBIFS(func) \ BOOT_TARGET_MMC0(func) \ BOOT_TARGET_MMC2(func) \ + BOOT_TARGET_USB(func) \ BOOT_TARGET_PXE(func) /* |
