]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: sentinel: Update S400 API get info message structure
authorYe Li <ye.li@nxp.com>
Tue, 31 Jan 2023 08:42:26 +0000 (16:42 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Mar 2023 18:15:42 +0000 (20:15 +0200)
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@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/mach-imx/s400_api.h

index 89fa373d06ff9bcde8a9c3230db47b41d955778d..4819f208f0550a826d3d8b9007aa4b30f902f176 100644 (file)
@@ -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);