mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2026-01-27 12:35:36 +01:00
LF-15060: drivers: firmware: imx: se: Enables support of i.MX95 rev B0
Enables the support for V2X-SG#0 & V2X-SG#1 on i.MX95 B0. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
This commit is contained in:
parent
9d86c4874b
commit
934c85903f
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright 2024 NXP
|
||||
* Copyright 2024-2025 NXP
|
||||
*
|
||||
* Header file for the EdgeLock Enclave Base API(s).
|
||||
*/
|
||||
|
|
@ -49,6 +49,8 @@ struct dev_addn_info {
|
|||
u8 csal_state;
|
||||
u8 imem_state;
|
||||
u8 reserved2;
|
||||
u8 oem_pqc_srkh[DEV_GETINFO_OEM_SRKH_SZ];
|
||||
u8 reserved3[32];
|
||||
};
|
||||
|
||||
struct ele_dev_info {
|
||||
|
|
@ -56,8 +58,7 @@ struct ele_dev_info {
|
|||
struct dev_addn_info d_addn_info;
|
||||
};
|
||||
|
||||
#define ELE_GET_INFO_BUFF_SZ (sizeof(struct ele_dev_info) \
|
||||
+ ELE_DEV_INFO_EXTRA_SZ)
|
||||
#define ELE_GET_INFO_BUFF_SZ sizeof(struct ele_dev_info)
|
||||
|
||||
#define GET_SERIAL_NUM_FROM_UID(x, uid_word_sz) \
|
||||
(((u64)(((u32 *)(x))[(uid_word_sz) - 1]) << 32) | ((u32 *)(x))[0])
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ static struct se_if_node_info_list imx93_info = {
|
|||
};
|
||||
|
||||
static struct se_if_node_info_list imx95_info = {
|
||||
.num_mu = 4,
|
||||
.num_mu = 6,
|
||||
.soc_id = SOC_ID_OF_IMX95,
|
||||
.soc_register = false,
|
||||
.se_fetch_soc_info = ele_fetch_soc_info,
|
||||
|
|
@ -247,6 +247,42 @@ static struct se_if_node_info_list imx95_info = {
|
|||
.se_if_early_init = v2x_early_init,
|
||||
.se_if_late_init = NULL,
|
||||
},
|
||||
{
|
||||
.se_if_id = 4,
|
||||
.mu_buff_size = 0,
|
||||
.if_defs = {
|
||||
.se_if_type = SE_TYPE_ID_V2X_SG,
|
||||
.se_instance_id = 0,
|
||||
.cmd_tag = 0x1d,
|
||||
.rsp_tag = 0xe7,
|
||||
.success_tag = ELE_SUCCESS_IND,
|
||||
.base_api_ver = MESSAGING_VERSION_2,
|
||||
.fw_api_ver = MESSAGING_VERSION_2,
|
||||
},
|
||||
.reserved_dma_ranges = false,
|
||||
.start_rng = NULL,
|
||||
.init_trng = NULL,
|
||||
.se_if_early_init = v2x_early_init,
|
||||
.se_if_late_init = NULL,
|
||||
},
|
||||
{
|
||||
.se_if_id = 5,
|
||||
.mu_buff_size = 0,
|
||||
.if_defs = {
|
||||
.se_if_type = SE_TYPE_ID_V2X_SG,
|
||||
.se_instance_id = 1,
|
||||
.cmd_tag = 0x1e,
|
||||
.rsp_tag = 0xe8,
|
||||
.success_tag = ELE_SUCCESS_IND,
|
||||
.base_api_ver = MESSAGING_VERSION_2,
|
||||
.fw_api_ver = MESSAGING_VERSION_2,
|
||||
},
|
||||
.reserved_dma_ranges = false,
|
||||
.start_rng = NULL,
|
||||
.init_trng = NULL,
|
||||
.se_if_early_init = v2x_early_init,
|
||||
.se_if_late_init = NULL,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user