[PATCH V2 02/48] imx: Change USB boot device type
Peng Fan (OSS)
peng.fan at oss.nxp.com
Sat Jun 11 15:19:48 CEST 2022
From: Ye Li <ye.li at nxp.com>
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 at nxp.com>
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
arch/arm/mach-imx/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 64ca2967721..e89e2277ef7 100644
--- 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;
}
--
2.36.0
More information about the U-Boot
mailing list