mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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:
parent
2f5ee7f812
commit
9270cc8f3b
@ -177,7 +177,7 @@ u32 spl_boot_device(void)
|
|||||||
case QSPI_BOOT:
|
case QSPI_BOOT:
|
||||||
return BOOT_DEVICE_NOR;
|
return BOOT_DEVICE_NOR;
|
||||||
case USB_BOOT:
|
case USB_BOOT:
|
||||||
return BOOT_DEVICE_USB;
|
return BOOT_DEVICE_BOARD;
|
||||||
default:
|
default:
|
||||||
return BOOT_DEVICE_NONE;
|
return BOOT_DEVICE_NONE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user