MLK-18654-2 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>
This commit is contained in:
Ye Li 2018-06-21 19:26:47 -07:00
parent 2c7b640aef
commit 433032d7d6
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,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;
}