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: baikal/mips/sdk6.2~4^2~3^2~175^2~16^2~79 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=a7354f1e5ab567a3560a95faeb088df6ad48de04;p=uboot.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 89fa373d06..4819f208f0 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);