imx: imx8ulp: Get chip revision from Sentinel
authorYe Li <ye.li@nxp.com>
Tue, 31 Jan 2023 08:42:13 +0000 (16:42 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Mar 2023 18:15:41 +0000 (20:15 +0200)
commitf3272355cdb938ecff1664924c332b0a60541603
treebf4738e9e43cf280e0965948e42d31f6a600c43f
parent9d89dcfcb1e4daaac095d350f2e7a56fce87a4ab
imx: imx8ulp: Get chip revision from Sentinel

In both SPL and u-boot, after probing the S400 MU, get the chip revision,
lifecycle and UID from Sentinel.
Update get_cpu_rev to use the chip revision not hard coded it for A0

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8ulp/imx-regs.h
arch/arm/include/asm/arch-imx8ulp/sys_proto.h
arch/arm/mach-imx/imx8ulp/soc.c
board/freescale/imx8ulp_evk/spl.c