]> git.dujemihanovic.xyz Git - u-boot.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)
commite26d0152d613e99c5e6a289765096a6b9de6d643
tree06f5c4069739df99fce6ed5abdd29759bbe177c8
parent7990277a7bf065084a2e6b4494c7f6628139d431
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