Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.

Fei Yan uploaded patch set #2 to this change.

View Change

UPSTREAM: soc/mediatek/mt8188: devapc: set devapc permission for MFG

Set MFG to domain 6.
Set MFG remap in infra and sub infra,
so that MFG can switch to protect mode by MFG register.
Set MFG slave MFG_S_S-2 and MFG_S_S-5 permission
from NO_PROTECTION to SEC_RW_ONLY for domain 0.
So that only AP in secure mode can access MFG_S_S-2 and MFG_S_S-5

BUG=b:313855815
TEST=emerge-geralt coreboot

Change-Id: Ic6fb7d85bf9d4d92946a045a274b274abc440e1d
Signed-off-by: Fei Yan <fei.yan@mediatek.corp-partner.google.com>
---
M src/soc/mediatek/mt8188/devapc.c
M src/soc/mediatek/mt8188/include/soc/addressmap.h
M src/soc/mediatek/mt8188/include/soc/devapc.h
3 files changed, 53 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/82076/2

To view, visit change 82076. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic6fb7d85bf9d4d92946a045a274b274abc440e1d
Gerrit-Change-Number: 82076
Gerrit-PatchSet: 2
Gerrit-Owner: Fei Yan <fei.yan@mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte@chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin@google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso@google.com>
Gerrit-CC: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte@chromium.org>
Gerrit-Attention: Yu-Ping Wu <yupingso@google.com>
Gerrit-Attention: Yidi Lin <yidilin@google.com>
Gerrit-MessageType: newpatchset