diff options
author | Ye Li <ye.li@nxp.com> | 2023-01-31 11:42:13 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-03-29 21:15:41 +0300 |
commit | f3272355cdb938ecff1664924c332b0a60541603 (patch) | |
tree | bf4738e9e43cf280e0965948e42d31f6a600c43f /arch/arm/include/asm/arch-imx8ulp | |
parent | 9d89dcfcb1e4daaac095d350f2e7a56fce87a4ab (diff) | |
download | u-boot-f3272355cdb938ecff1664924c332b0a60541603.tar.xz |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-imx8ulp')
-rw-r--r-- | arch/arm/include/asm/arch-imx8ulp/imx-regs.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8ulp/imx-regs.h b/arch/arm/include/asm/arch-imx8ulp/imx-regs.h index 723bab584c..9a5d76e210 100644 --- a/arch/arm/include/asm/arch-imx8ulp/imx-regs.h +++ b/arch/arm/include/asm/arch-imx8ulp/imx-regs.h @@ -10,6 +10,7 @@ #include <linux/bitops.h> #include <linux/sizes.h> +#define SRAM0_BASE 0x22010000 #define PBRIDGE0_BASE 0x28000000 #define CMC0_RBASE 0x28025000 diff --git a/arch/arm/include/asm/arch-imx8ulp/sys_proto.h b/arch/arm/include/asm/arch-imx8ulp/sys_proto.h index a7869fbb57..ff49c626d8 100644 --- a/arch/arm/include/asm/arch-imx8ulp/sys_proto.h +++ b/arch/arm/include/asm/arch-imx8ulp/sys_proto.h @@ -15,4 +15,5 @@ void set_lpav_qos(void); void load_lposc_fuse(void); bool m33_image_booted(void); int m33_image_handshake(ulong timeout_ms); +int imx8ulp_dm_post_init(void); #endif |