aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlora Fu <flora.fu@mediatek.com>2021-04-20 11:45:56 +0800
committerFlora Fu <flora.fu@mediatek.com>2021-05-25 14:48:58 +0800
commit77b6801966d203e09ca118fad42543e934d73e6f (patch)
tree135bbb785a9c2677895cdfed5ab25000a5660548
parentc3ce73be0bfe31fa28805fe92b3e727232ffd37a (diff)
downloadtrusted-firmware-a-77b6801966d203e09ca118fad42543e934d73e6f.tar.gz
feat(plat/mediatek/apu): setup mt8192 APU_S_S_4 and APU_S_S_5 permission
Setup APU_S_S_4/APU_S_S_5 permission as SEC_RW_ONLY. Signed-off-by: Flora Fu <flora.fu@mediatek.com> Change-Id: I6c50b2913bf34270a1b0ffaf0e0c435fee192a4c
-rw-r--r--plat/mediatek/mt8192/drivers/devapc/devapc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/mediatek/mt8192/drivers/devapc/devapc.c b/plat/mediatek/mt8192/drivers/devapc/devapc.c
index c7dbbee179..8312bb84a1 100644
--- a/plat/mediatek/mt8192/drivers/devapc/devapc.c
+++ b/plat/mediatek/mt8192/drivers/devapc/devapc.c
@@ -82,12 +82,12 @@ DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-3",
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN),
DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-4",
- NO_PROTECTION, FORBIDDEN, FORBIDDEN, FORBIDDEN,
+ SEC_RW_ONLY, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN),
DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-5",
- NO_PROTECTION, FORBIDDEN, FORBIDDEN, FORBIDDEN,
+ SEC_RW_ONLY, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN),