diff options
author | Ye Li | 2022-07-26 16:40:33 +0800 |
---|---|---|
committer | Stefano Babic | 2022-07-26 11:29:00 +0200 |
commit | 9270cc8f3b0aeea05ee012b61b88c065c0a7785f (patch) | |
tree | 324856adf4c8005aab12a67e54135d2bf5a194be /arch | |
parent | 2f5ee7f8129be1c98eabcf46ddcbf55f6e119b21 (diff) |
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 <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |