diff options
author | Runyang Chen <runyang.chen@mediatek.corp-partner.google.com> | 2022-01-06 14:27:22 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-01-07 15:30:07 +0000 |
commit | d4c161ec55f3e003af753ef17ba2baff88670748 (patch) | |
tree | 8f6baef762dffb1ed30e380c3d3a7c066875bc30 /src/soc/mediatek/mt8186/include/soc | |
parent | 362a4819b3f00f581d272f010d3a42c49a6b9d93 (diff) | |
download | coreboot-d4c161ec55f3e003af753ef17ba2baff88670748.tar.gz coreboot-d4c161ec55f3e003af753ef17ba2baff88670748.tar.bz2 coreboot-d4c161ec55f3e003af753ef17ba2baff88670748.zip |
soc/mediatek/mt8186: fix incorrect devapc settings
We need to protect debugsys for firmware image without serial console.
Original settings for protecting debugsys is wrong which will cause some
hardware modules to fail to set their registers correctly.
We move the setting from MM_AO_APC to INFRA_AO_APC because the setting
of debugsys is defined in INFRA_AO_APC and set the debugsys index to
correct value of 94.
BUG=b:213125558
TEST=all modules work normally using image without serial console.
Signed-off-by: Runyang Chen <runyang.chen@mediatek.corp-partner.google.com>
Change-Id: Ibce626386ac1f8de42f8717c4ad9ba403640b3ec
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60833
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8186/include/soc')
-rw-r--r-- | src/soc/mediatek/mt8186/include/soc/devapc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8186/include/soc/devapc.h b/src/soc/mediatek/mt8186/include/soc/devapc.h index 48d5f3ee271d..0a77e37f036e 100644 --- a/src/soc/mediatek/mt8186/include/soc/devapc.h +++ b/src/soc/mediatek/mt8186/include/soc/devapc.h @@ -73,7 +73,7 @@ enum devapc_sys_dom_num { }; enum devapc_cfg_index { - DEVAPC_DEBUGSYS_INDEX = 17, + DEVAPC_DEBUGSYS_INDEX = 94, }; /* PERM_ATTR MACRO */ |