Skip to content

Commit 636523b

Browse files
committed
Musca-B1: Grant Non-Secure access for MHU0 on EXP0
Change-Id: I0a15c695e6ccec3d13e0fa66257278172be75680 Signed-off-by: Gabor Abonyi <[email protected]>
1 parent 27405bf commit 636523b

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

targets/TARGET_ARM_SSG/TARGET_MUSCA_B1/TARGET_MUSCA_B1_S/target_cfg.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,15 @@ void ppc_init_cfg(void)
380380
ARM_PPC_NONSECURE_ONLY,
381381
ARM_PPC_PRIV_ONLY);
382382

383+
/* Grant non-secure access for APB MHU0 on EXP0 */
384+
ret |= Driver_APB_PPCEXP0.Initialize();
385+
ret |= Driver_APB_PPCEXP0.ConfigPeriph(MUSCA_B1_CI_MHU0_S_APB_PPC_POS,
386+
ARM_PPC_NONSECURE_ONLY,
387+
ARM_PPC_PRIV_ONLY);
388+
ret |= Driver_APB_PPCEXP0.ConfigPeriph(MUSCA_B1_CI_MHU0_R_APB_PPC_POS,
389+
ARM_PPC_NONSECURE_ONLY,
390+
ARM_PPC_PRIV_ONLY);
391+
383392
/* Grant non-secure access for APB peripherals on EXP1 */
384393
ret |= Driver_APB_PPCEXP1.Initialize();
385394
ret |= Driver_APB_PPCEXP1.ConfigPeriph(MUSCA_B1_PWM0_APB_PPC_POS,

0 commit comments

Comments
 (0)