summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/global_data.h
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-07-26 11:40:56 +0300
committerStefano Babic <sbabic@denx.de>2022-07-26 12:29:01 +0300
commit989f73934d202138376a7a768073851e426c472a (patch)
treedc7858d20b87bb0ff25612769d035853238450c2 /arch/arm/include/asm/global_data.h
parentfd94c2367b3d0fd0ef4282d6d9f19d1e854c9acd (diff)
downloadu-boot-989f73934d202138376a7a768073851e426c472a.tar.xz
imx: 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: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/global_data.h')
-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
};