]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx: Fix parsing of ROM log event IDs on iMX8M
authorFedor Ross <fedor.ross@ifm.com>
Thu, 14 Apr 2022 16:36:23 +0000 (18:36 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 11:48:52 +0000 (13:48 +0200)
commit29852111ced6138329189fb7659b3712bf6881fe
treeb48bfed5dbf2da4b0c1f0448b1e02716ea165621
parent8feb5ed85d0f0f2c0e5795cb2599929e61d7fc4b
ARM: imx: Fix parsing of ROM log event IDs on iMX8M

It seems like the ROM log events for the iMX8M are not fully covered by
AN12853 i.MX ROMs Log Events, Rev. 0, May 2020. On iMX8M the ROM event
ID 0x82 seems to use parameter0 which stops the parsing because the end
of list is detected too early.

This patch adds ROM event ID 0x82 and skips the next word if ID 0x82 is
parsed.

Fixes: 274977f047 ("ARM: imx: Pick correct eMMC boot partition from ROM log")
Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c