diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-07-26 16:40:56 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-07-26 11:29:01 +0200 |
commit | 989f73934d202138376a7a768073851e426c472a (patch) | |
tree | dc7858d20b87bb0ff25612769d035853238450c2 /arch/arm/include | |
parent | fd94c2367b3d0fd0ef4282d6d9f19d1e854c9acd (diff) | |
download | u-boot-989f73934d202138376a7a768073851e426c472a.zip u-boot-989f73934d202138376a7a768073851e426c472a.tar.gz u-boot-989f73934d202138376a7a768073851e426c472a.tar.bz2 |
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')
-rw-r--r-- | arch/arm/include/asm/global_data.h | 3 |
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 09f3522..6ee2a76 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 }; |