]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx: Decode ECSPI env location from i.MX8M ROMAPI tables
authorMarek Vasut <marex@denx.de>
Fri, 25 Mar 2022 17:59:28 +0000 (18:59 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 15:33:55 +0000 (17:33 +0200)
commit7444914f785ea7c73ebb70975bd4b1a985f8eaec
tree06f5c4069739df99fce6ed5abdd29759bbe177c8
parent4a969210facffbb8b85f2c10e6b50c4da9be0147
ARM: imx: 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.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/imx8m/soc.c