git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60929b0
)
imx8mm_evk: Add an entry for USB boot
author
Fabio Estevam
<festevam@denx.de>
Tue, 20 Sep 2022 00:20:13 +0000
(21:20 -0300)
committer
Stefano Babic
<sbabic@denx.de>
Fri, 21 Oct 2022 09:54:13 +0000
(11:54 +0200)
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>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8mm_evk/spl.c
patch
|
blob
|
history
diff --git
a/board/freescale/imx8mm_evk/spl.c
b/board/freescale/imx8mm_evk/spl.c
index
e0e97c7
..
b5a2faf
100644
(file)
--- 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;