mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-13 21:36:57 +00:00
imx: add USB2_BOOT type
Add USB2_BOOT type for i.MX8ULP and i.MX9 Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
b0a284a7c9
commit
787f04bb6a
2 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ enum boot_device {
|
|||
QSPI_BOOT,
|
||||
FLEXSPI_BOOT,
|
||||
USB_BOOT,
|
||||
USB2_BOOT,
|
||||
UNKNOWN_BOOT,
|
||||
BOOT_DEV_NUM = UNKNOWN_BOOT,
|
||||
};
|
||||
|
|
|
@ -67,7 +67,7 @@ enum boot_device get_boot_device(void)
|
|||
boot_dev = QSPI_BOOT;
|
||||
break;
|
||||
case BT_DEV_TYPE_USB:
|
||||
boot_dev = USB_BOOT;
|
||||
boot_dev = boot_instance + USB_BOOT;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue