From: Ye Li Date: Tue, 31 Jan 2023 08:42:26 +0000 (+0800) Subject: imx: sentinel: Update S400 API get info message structure X-Git-Tag: v2023.07~72^2~16^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9288c60f4b6725f152e3bad5f8043cfba1b6ed8;p=platform%2Fkernel%2Fu-boot.git imx: sentinel: Update S400 API get info message structure 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 Reviewed-by: Peng Fan --- diff --git a/arch/arm/include/asm/mach-imx/s400_api.h b/arch/arm/include/asm/mach-imx/s400_api.h index 89fa373..4819f20 100644 --- a/arch/arm/include/asm/mach-imx/s400_api.h +++ b/arch/arm/include/asm/mach-imx/s400_api.h @@ -41,6 +41,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);