ARM: stm32: Add USB host boot support
PATCH 1/1 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]>
--- include/configs/stm32mp1.h | 7 +++++++ 1 file changed, 7 insertions(+)
include/configs/stm32mp1.h +7 -0
@@ -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)/*
Signature · 1 line
2.30.0
PATCH 1/1 ARM: stm32: Add USB host boot support
Hi Marek,
Quoted 10 lines · Marek Vasut
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]>--- include/configs/stm32mp1.h | 7 +++++++ 1 file changed, 7 insertions(+)
Reviewed-by Patrick Delaunay <[email protected]>
Thanks
Patrick
PATCH 1/1 ARM: stm32: Add USB host boot support
In reply to Marek VasutHi,
Quoted 10 lines · Marek Vasut
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]>--- include/configs/stm32mp1.h | 7 +++++++ 1 file changed, 7 insertions(+)
Applied to u-boot-stm/master, thanks!
Regards
Patrick