mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
feat(imx8mm): restrict peripheral access to secure world
This restricts and locks all security relevant peripherals to only be changeable by the secure world. Otherwise the normal world can simply change the access settings and defeat all security measures put in place. Change-Id: I484a2c8164e58b68256d829470e00d5ec473e266 Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
This commit is contained in:
parent
f4b11e59b8
commit
1156c76361
1 changed files with 3 additions and 1 deletions
|
@ -77,7 +77,9 @@ static const struct imx_rdc_cfg rdc[] = {
|
|||
|
||||
static const struct imx_csu_cfg csu_cfg[] = {
|
||||
/* peripherals csl setting */
|
||||
CSU_CSLx(0x1, CSU_SEC_LEVEL_0, UNLOCKED),
|
||||
CSU_CSLx(CSU_CSL_RDC, CSU_SEC_LEVEL_3, LOCKED),
|
||||
CSU_CSLx(CSU_CSL_TZASC, CSU_SEC_LEVEL_5, LOCKED),
|
||||
CSU_CSLx(CSU_CSL_CSU, CSU_SEC_LEVEL_5, LOCKED),
|
||||
|
||||
/* master HP0~1 */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue