public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/2] imx8mm_evk: Add an entry for USB boot
@ 2022-09-20  0:20 Fabio Estevam
  2022-09-20  0:20 ` [PATCH 2/2] imx8mm_evk: Add Serial Download Protocol support Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Fabio Estevam @ 2022-09-20  0:20 UTC (permalink / raw)
  To: sbabic; +Cc: peng.fan, marex, u-boot, Fabio Estevam

Add an entry for USB boot so that U-Boot could be loaded via
the Serial Download Protocol.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 board/freescale/imx8mm_evk/spl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c
index e2eb1426c8..c827ed5546 100644
--- a/board/freescale/imx8mm_evk/spl.c
+++ b/board/freescale/imx8mm_evk/spl.c
@@ -33,6 +33,8 @@ DECLARE_GLOBAL_DATA_PTR;
 int spl_board_boot_device(enum boot_device boot_dev_spl)
 {
 	switch (boot_dev_spl) {
+	case USB_BOOT:
+		return BOOT_DEVICE_BOARD;
 	case SD2_BOOT:
 	case MMC2_BOOT:
 		return BOOT_DEVICE_MMC1;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-10-21 11:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-20  0:20 [PATCH 1/2] imx8mm_evk: Add an entry for USB boot Fabio Estevam
2022-09-20  0:20 ` [PATCH 2/2] imx8mm_evk: Add Serial Download Protocol support Fabio Estevam
2022-09-20  5:46   ` Michael Nazzareno Trimarchi
2022-09-20  6:31     ` ZHIZHIKIN Andrey
2022-09-20  6:33       ` Michael Nazzareno Trimarchi
2022-09-20  6:56   ` Peng Fan
2022-09-20 11:13     ` Fabio Estevam
2022-09-21  5:25       ` Peng Fan
2022-09-21 11:58         ` Fabio Estevam
2022-09-21  5:26   ` Peng Fan
2022-10-21 11:43   ` sbabic
2022-09-21  5:26 ` [PATCH 1/2] imx8mm_evk: Add an entry for USB boot Peng Fan
2022-10-21 11:40 ` sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox