From: Ye Li Date: Tue, 26 Jul 2022 08:40:33 +0000 (+0800) Subject: imx: Change USB boot device type X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=9270cc8f3b0aeea05ee012b61b88c065c0a7785f;p=u-boot.git imx: Change USB boot device type 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 Signed-off-by: Peng Fan --- diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 64ca296772..e89e2277ef 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; }