Skip to content

Commit 8fe1de1

Browse files
committed
drivers: ele: remove sab_init() initialization
ELE firmware has been divided into 2 firmwares for i.MX8ULP and i.MX95: Primary and secondary firmware. SAB init command is in Secondary firmware, which will be loaded when rootfs comes up, so this command is not available when OP-TEE is initializing. Moreover, we are not using any ELE command which is available in secondary firmware, So removing sab_init() function. Will add it when it will be used in driver. Signed-off-by: Sahil Malhotra <[email protected]>
1 parent 9c302ef commit 8fe1de1

File tree

1 file changed

+0
-17
lines changed
  • core/drivers/crypto/ele

1 file changed

+0
-17
lines changed

core/drivers/crypto/ele/ele.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -372,23 +372,6 @@ int tee_otp_get_die_id(uint8_t *buffer, size_t len)
372372
return 0;
373373
}
374374

375-
/*
376-
* Initialize EdgeLock Enclave services
377-
*/
378-
static TEE_Result imx_ele_sab_init(void)
379-
{
380-
struct imx_mu_msg msg = {
381-
.header.version = ELE_VERSION_HSM,
382-
.header.size = 1,
383-
.header.tag = ELE_REQUEST_TAG,
384-
.header.command = ELE_CMD_SAB_INIT,
385-
};
386-
387-
return imx_ele_call(&msg);
388-
}
389-
390-
driver_init(imx_ele_sab_init);
391-
392375
#if defined(CFG_MX93) || defined(CFG_MX91) || defined(CFG_MX95)
393376
static TEE_Result imx_ele_derive_key(const uint8_t *ctx, size_t ctx_size,
394377
uint8_t *key, size_t key_size)

0 commit comments

Comments
 (0)