* [PATCH] ARM: stm32: Add USB host boot support
@ 2021-02-12 12:50 Marek Vasut
2021-02-23 9:01 ` Patrick DELAUNAY
2021-02-26 14:40 ` Patrick DELAUNAY
0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2021-02-12 12:50 UTC (permalink / raw)
To: u-boot
Add support for booting from USB pen drive, since USB host port is
available on the STM32MP1.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
include/configs/stm32mp1.h | 7 +++++++
1 file changed, 7 insertions(+)
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)
/*
--
2.30.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: stm32: Add USB host boot support
2021-02-12 12:50 [PATCH] ARM: stm32: Add USB host boot support Marek Vasut
@ 2021-02-23 9:01 ` Patrick DELAUNAY
2021-02-26 14:40 ` Patrick DELAUNAY
1 sibling, 0 replies; 3+ messages in thread
From: Patrick DELAUNAY @ 2021-02-23 9:01 UTC (permalink / raw)
To: u-boot
Hi Marek,
On 2/12/21 1:50 PM, Marek Vasut wrote:
> Add support for booting from USB pen drive, since USB host port is
> available on the STM32MP1.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> include/configs/stm32mp1.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Thanks
Patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: stm32: Add USB host boot support
2021-02-12 12:50 [PATCH] ARM: stm32: Add USB host boot support Marek Vasut
2021-02-23 9:01 ` Patrick DELAUNAY
@ 2021-02-26 14:40 ` Patrick DELAUNAY
1 sibling, 0 replies; 3+ messages in thread
From: Patrick DELAUNAY @ 2021-02-26 14:40 UTC (permalink / raw)
To: u-boot
Hi,
On 2/12/21 1:50 PM, Marek Vasut wrote:
> Add support for booting from USB pen drive, since USB host port is
> available on the STM32MP1.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> include/configs/stm32mp1.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-26 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 12:50 [PATCH] ARM: stm32: Add USB host boot support Marek Vasut
2021-02-23 9:01 ` Patrick DELAUNAY
2021-02-26 14:40 ` Patrick DELAUNAY
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.