summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-12-27 15:39:01 +0800
committerYe Li <ye.li@nxp.com>2022-07-06 22:35:57 +0800
commitef03a19193a2316c4782bf5825d171e534700976 (patch)
tree8f8ae0224d794725d2afe7c499ad5f61fb60ab12 /arch/arm/include
parent1133b8e7bebd6fb5cf57612ddb8db3ebbdd6a877 (diff)
LFU-330-19 arm: imx9: Get the chip revision through S400 API
Update the get chip revision methond to use S400 API, also record other information like lifecycle and UID to global data. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/global_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 09f352269e..6ee2a76761 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -92,6 +92,9 @@ struct arch_global_data {
#ifdef CONFIG_IMX_SENTINEL
struct udevice *s400_dev;
+ u32 soc_rev;
+ u32 lifecycle;
+ u32 uid[4];
#endif
};