mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 14:56:59 +00:00
ARM: imx: Reinstate decode ECSPI env location from i.MX8M ROMAPI tables
Decode ECSPI boot device in env_get_location() from i.MX8M ROMAPI tables. This is necessary to correctly identify env is in SPI NOR when the system boots from SPI NOR attached to ECSPI. This reinstates change from commit:e26d0152d6
("ARM: imx: Decode ECSPI env location from i.MX8M ROMAPI tables") which has been dropped in commit:b0a284a7c9
("imx: move get_boot_device to common file") Fixes:b0a284a7c9
("imx: move get_boot_device to common file") Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
This commit is contained in:
parent
a20be24cd4
commit
d51b38762d
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ enum boot_device get_boot_device(void)
|
|||
case BT_DEV_TYPE_FLEXSPINOR:
|
||||
boot_dev = QSPI_BOOT;
|
||||
break;
|
||||
case BT_DEV_TYPE_SPI_NOR:
|
||||
boot_dev = SPI_NOR_BOOT;
|
||||
break;
|
||||
case BT_DEV_TYPE_USB:
|
||||
boot_dev = boot_instance + USB_BOOT;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue