]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx: Reinstate decode ECSPI env location from i.MX8M ROMAPI tables
authorMarek Vasut <marex@denx.de>
Sat, 10 Dec 2022 01:29:52 +0000 (02:29 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 22:23:01 +0000 (23:23 +0100)
commit926dcf765e853072df24f6f57ec051dc9519a152
tree0c2955dd4149ea77791d8bdc4fa7a4f3b298222a
parentf08fce20e5b73773d674d8cc633ea642e5ade25a
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:
7444914f785 ("ARM: imx: Decode ECSPI env location from i.MX8M ROMAPI tables")
which has been dropped in commit:
171388d571d ("imx: move get_boot_device to common file")

Fixes: 171388d571d ("imx: move get_boot_device to common file")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/mach-imx/romapi.c