aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2023-01-30 18:39:50 +0800
committerStefano Babic <sbabic@denx.de>2023-03-29 22:27:38 +0200
commit76c184fe3aa500c71dcb8b88d6b7b3b1db8a237f (patch)
tree585fb8130be6910fa1a91377fa885917df1c0f7f /arch/arm/include
parent4dfb2196cdced30d9404080584746e4205f561b1 (diff)
downloadu-boot-76c184fe3aa500c71dcb8b88d6b7b3b1db8a237f.zip
u-boot-76c184fe3aa500c71dcb8b88d6b7b3b1db8a237f.tar.gz
u-boot-76c184fe3aa500c71dcb8b88d6b7b3b1db8a237f.tar.bz2
misc: sentinel: s400_api: Add get_events API
Add get_events API to retrieve any singular events that has occurred since the FW has started from sentinel Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/mach-imx/s400_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/s400_api.h b/arch/arm/include/asm/mach-imx/s400_api.h
index 4819f20..79539b7 100644
--- a/arch/arm/include/asm/mach-imx/s400_api.h
+++ b/arch/arm/include/asm/mach-imx/s400_api.h
@@ -18,6 +18,7 @@
#define AHAB_FWD_LIFECYCLE_UP_REQ_CID 0x95
#define AHAB_READ_FUSE_REQ_CID 0x97
#define AHAB_GET_FW_VERSION_CID 0x9D
+#define AHAB_GET_EVENTS_REQ_CID 0xA2
#define AHAB_RELEASE_RDC_REQ_CID 0xC4
#define AHAB_GET_FW_STATUS_CID 0xC5
#define AHAB_WRITE_FUSE_REQ_CID 0xD6
@@ -58,5 +59,6 @@ int ahab_dump_buffer(u32 *buffer, u32 buffer_length);
int ahab_get_info(struct sentinel_get_info_data *info, u32 *response);
int ahab_get_fw_status(u32 *status, u32 *response);
int ahab_release_m33_trout(void);
+int ahab_get_events(u32 *events, u32 *events_cnt, u32 *response);
#endif