mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
fix(nuvoton): fix MMU mapping settings
MAP_DEVICE0 for internal (register) space access settings flag MT_NS was changed to MT_SECURE to enable access to the TSGEN register, otherwise it brings to MCR violation, because access to the TSGEN register is locked and enabled for secure only Change-Id: Id2fe90d30342706c58064161360d8be6e0d5616b Signed-off-by: Margarita Glushkin <rutigl@gmail.com>
This commit is contained in:
parent
416aa42e55
commit
0a1df64117
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@
|
|||
|
||||
/* MMU entry for internal (register) space access */
|
||||
#define MAP_DEVICE0 \
|
||||
MAP_REGION_FLAT(PLAT_REG_BASE, PLAT_REG_SIZE, MT_DEVICE | MT_RW | MT_NS)
|
||||
MAP_REGION_FLAT(PLAT_REG_BASE, PLAT_REG_SIZE, \
|
||||
MT_DEVICE | MT_RW | MT_SECURE)
|
||||
|
||||
#define MAP_DEVICE1 \
|
||||
MAP_REGION_FLAT(DEVICE1_BASE, DEVICE1_SIZE, \
|
||||
|
|
Loading…
Add table
Reference in a new issue