Skip to content

Commit

Permalink
Update Zephyr MSDK Hal based on MSDK PR: analogdevicesinc/msdk#1312
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 25, 2024
1 parent 868a703 commit 29c8a6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions MAX/Libraries/PeriphDrivers/Source/ICC/icc_me30.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,31 @@ Maxim Internal Use

int MXC_ICC_ID(mxc_icc_info_t cid)
{
#if CONFIG_TRUSTED_EXECUTION_SECURE
return MXC_ICC_RevA_ID((mxc_icc_reva_regs_t *)MXC_ICC, cid);
#else
return E_NOT_SUPPORTED;
#endif
}

void MXC_ICC_Enable(void)
{
/* Cache controller only accessible in secure world. */
#if CONFIG_TRUSTED_EXECUTION_SECURE
MXC_ICC_RevA_Enable((mxc_icc_reva_regs_t *)MXC_ICC);
#endif
}

void MXC_ICC_Disable(void)
{
#if CONFIG_TRUSTED_EXECUTION_SECURE
MXC_ICC_RevA_Disable((mxc_icc_reva_regs_t *)MXC_ICC);
#endif
}

void MXC_ICC_Flush(void)
{
#if CONFIG_TRUSTED_EXECUTION_SECURE
MXC_ICC_Com_Flush();
#endif
}
2 changes: 1 addition & 1 deletion MAX/msdk_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14ccd99f89720d5f22dea025d9303a7bca62625f
df2e217786a80b93912890d5dc6c2c115321575a

0 comments on commit 29c8a6d

Please sign in to comment.