mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
Merge "fix(mt8188): remove BL32 region protection if SPD sets to none" into integration
This commit is contained in:
commit
a4ba3cdc7a
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ void set_emi_mpu_regions(void)
|
|||
FORBIDDEN, FORBIDDEN, FORBIDDEN, SEC_RW);
|
||||
emi_mpu_set_protection(®ion_info);
|
||||
|
||||
#ifndef SPD_NONE
|
||||
/* BL32 address */
|
||||
region_info.start = BL32_REGION_BASE;
|
||||
region_info.end = BL32_REGION_BASE + BL32_REGION_SIZE - 1;
|
||||
|
@ -35,6 +36,7 @@ void set_emi_mpu_regions(void)
|
|||
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
|
||||
FORBIDDEN, FORBIDDEN, SEC_RW, SEC_RW);
|
||||
emi_mpu_set_protection(®ion_info);
|
||||
#endif
|
||||
|
||||
/* SCP core0 DRAM */
|
||||
region_info.start = SCP_CORE0_REGION_BASE;
|
||||
|
|
Loading…
Add table
Reference in a new issue