diff options
author | Ye Li <ye.li@nxp.com> | 2020-07-20 01:53:13 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2022-04-06 18:04:01 +0800 |
commit | f56e7934d01c51588cea4cf4e7d54d32077744d9 (patch) | |
tree | 460e987431706edc1e8ba5e2bb08a1de185fe535 /arch/arm/include | |
parent | 171c4ebcba5b37f0f514405fc6c39327b5b1d25c (diff) |
MLK-24426-1 misc: imx8: Update SCFW API to get V2X build info
Update SCFW API to add sc_seco_v2x_build_info API which can
get the version and commit of V2X firmware on 8DXL
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 655e05e6751ebbd94dd9ab1b77ed1020a661a115)
(cherry picked from commit 057dc774a4c2873160f470eca22201394ad3c6ac)
(cherry picked from commit 0483b4742ff73985b00ddd16960a3bca6f1ae843)
(cherry picked from commit 919999573a388efc9d8e6e311e225192ea865a40)
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-imx8/sci/rpc.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-imx8/sci/sci.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8/sci/rpc.h b/arch/arm/include/asm/arch-imx8/sci/rpc.h index a17ddeb01a..041e4d002d 100644 --- a/arch/arm/include/asm/arch-imx8/sci/rpc.h +++ b/arch/arm/include/asm/arch-imx8/sci/rpc.h @@ -193,6 +193,7 @@ struct sc_rpc_msg_s { #define SECO_FUNC_UPDATE_MPMR 14U /* Index for seco_update_mpmr() RPC call */ #define SECO_FUNC_GET_MP_SIGN 15U /* Index for seco_get_mp_sign() RPC call */ #define SECO_FUNC_BUILD_INFO 16U /* Index for seco_build_info() RPC call */ +#define SECO_FUNC_V2X_BUILD_INFO 30U /* Index for sc_seco_v2x_build_info() RPC call */ #define SECO_FUNC_CHIP_INFO 17U /* Index for seco_chip_info() RPC call */ #define SECO_FUNC_ENABLE_DEBUG 18U /* Index for seco_enable_debug() RPC call */ #define SECO_FUNC_GET_EVENT 19U /* Index for seco_get_event() RPC call */ diff --git a/arch/arm/include/asm/arch-imx8/sci/sci.h b/arch/arm/include/asm/arch-imx8/sci/sci.h index ad57455927..8809b5e019 100644 --- a/arch/arm/include/asm/arch-imx8/sci/sci.h +++ b/arch/arm/include/asm/arch-imx8/sci/sci.h @@ -128,6 +128,7 @@ int sc_seco_forward_lifecycle(sc_ipc_t ipc, u32 change); int sc_seco_chip_info(sc_ipc_t ipc, u16 *lc, u16 *monotonic, u32 *uid_l, u32 *uid_h); void sc_seco_build_info(sc_ipc_t ipc, u32 *version, u32 *commit); +int sc_seco_v2x_build_info(sc_ipc_t ipc, u32 *version, u32 *commit); int sc_seco_get_event(sc_ipc_t ipc, u8 idx, u32 *event); int sc_seco_gen_key_blob(sc_ipc_t ipc, u32 id, sc_faddr_t load_addr, sc_faddr_t export_addr, u16 max_size); |