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>
This commit is contained in:
Ye Li 2022-07-26 16:40:33 +08:00 committed by Stefano Babic
parent 2f5ee7f812
commit 9270cc8f3b

View File

@ -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;
}