Skip to content

Commit

Permalink
drivers: ele: enable support for i.MX91
Browse files Browse the repository at this point in the history
Enable ELE driver support for i.MX91.

Signed-off-by: Sahil Malhotra <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
  • Loading branch information
sahilnxp authored and jforissier committed Aug 2, 2024
1 parent 3026afe commit c09a542
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/arch/arm/plat-imx/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ $(call force,CFG_IMX_OCOTP,n)
$(call force,CFG_TZC380,n)
$(call force,CFG_NXP_CAAM,n)
CFG_IMX_MU ?= y
CFG_IMX_ELE ?= y
else
$(error Unsupported PLATFORM_FLAVOR "$(PLATFORM_FLAVOR)")
endif
Expand Down
6 changes: 3 additions & 3 deletions core/drivers/imx_ele.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#if defined(CFG_MX8ULP)
#define ELE_MU_DID 0x7
#define CACHELINE_SIZE 64
#elif defined(CFG_MX93)
#elif defined(CFG_MX93) || defined(CFG_MX91)
#define ELE_MU_DID 0x3
#define CACHELINE_SIZE 64
#else
Expand Down Expand Up @@ -493,7 +493,7 @@ int tee_otp_get_die_id(uint8_t *buffer, size_t len)
panic("Fail to get the device UID");
}

#if defined(CFG_MX93)
#if defined(CFG_MX93) || defined(CFG_MX91)
TEE_Result tee_otp_get_hw_unique_key(struct tee_hw_unique_key *hwkey)
{
TEE_Result res = TEE_ERROR_GENERIC;
Expand Down Expand Up @@ -556,4 +556,4 @@ TEE_Result tee_otp_get_hw_unique_key(struct tee_hw_unique_key *hwkey)

return TEE_SUCCESS;
}
#endif /* CFG_MX93 */
#endif /* CFG_MX93 || CFG_MX91 */

0 comments on commit c09a542

Please sign in to comment.