[PATCH 15/23] imx: sentinel: Update S400 API get info message structure
Ye Li
ye.li at nxp.com
Tue Jan 31 09:42:26 CET 2023
>From Sentinel FW v0.0.9-9df0f503, the response message of get info API
is changed to add OEM SRK and some states (IMEM, CSAL, TRNG).
With old structure, we get failure from sentinel due to the buffer
size can't fit with new response message. So update the API structure
to fix the issue.
Signed-off-by: Ye Li <ye.li at nxp.com>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
---
arch/arm/include/asm/mach-imx/s400_api.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/mach-imx/s400_api.h b/arch/arm/include/asm/mach-imx/s400_api.h
index cb6e393..5582ff1 100644
--- a/arch/arm/include/asm/mach-imx/s400_api.h
+++ b/arch/arm/include/asm/mach-imx/s400_api.h
@@ -126,6 +126,8 @@ struct sentinel_get_info_data {
u32 uid[4];
u32 sha256_rom_patch[8];
u32 sha_fw[8];
+ u32 oem_srkh[16];
+ u32 state;
};
int ahab_release_rdc(u8 core_id, u8 xrdc, u32 *response);
--
2.7.4
More information about the U-Boot
mailing list