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:
2f5ee7f
)
imx: Change USB boot device type
author
Ye Li
<ye.li@nxp.com>
Tue, 26 Jul 2022 08:40:33 +0000
(16:40 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 26 Jul 2022 09:29:00 +0000
(11:29 +0200)
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/spl.c
b/arch/arm/mach-imx/spl.c
index
64ca296
..
e89e227
100644
(file)
--- a/
arch/arm/mach-imx/spl.c
+++ b/
arch/arm/mach-imx/spl.c
@@
-177,7
+177,7
@@
u32 spl_boot_device(void)
case QSPI_BOOT:
return BOOT_DEVICE_NOR;
case USB_BOOT:
- return BOOT_DEVICE_
USB
;
+ return BOOT_DEVICE_
BOARD
;
default:
return BOOT_DEVICE_NONE;
}