mirror of https://github.com/ARMmbed/mbed-os.git
Musca-B1: Grant Non-Secure access for MHU0 on EXP0
Change-Id: I0a15c695e6ccec3d13e0fa66257278172be75680 Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>pull/12840/head
parent
27405bff31
commit
636523b862
targets/TARGET_ARM_SSG/TARGET_MUSCA_B1
TARGET_MUSCA_B1_NS/prebuilt
TARGET_MUSCA_B1_S
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -380,6 +380,15 @@ void ppc_init_cfg(void)
|
|||
ARM_PPC_NONSECURE_ONLY,
|
||||
ARM_PPC_PRIV_ONLY);
|
||||
|
||||
/* Grant non-secure access for APB MHU0 on EXP0 */
|
||||
ret |= Driver_APB_PPCEXP0.Initialize();
|
||||
ret |= Driver_APB_PPCEXP0.ConfigPeriph(MUSCA_B1_CI_MHU0_S_APB_PPC_POS,
|
||||
ARM_PPC_NONSECURE_ONLY,
|
||||
ARM_PPC_PRIV_ONLY);
|
||||
ret |= Driver_APB_PPCEXP0.ConfigPeriph(MUSCA_B1_CI_MHU0_R_APB_PPC_POS,
|
||||
ARM_PPC_NONSECURE_ONLY,
|
||||
ARM_PPC_PRIV_ONLY);
|
||||
|
||||
/* Grant non-secure access for APB peripherals on EXP1 */
|
||||
ret |= Driver_APB_PPCEXP1.Initialize();
|
||||
ret |= Driver_APB_PPCEXP1.ConfigPeriph(MUSCA_B1_PWM0_APB_PPC_POS,
|
||||
|
|
Loading…
Reference in New Issue