summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/spm.c
diff options
context:
space:
mode:
authorChun-Jie Chen <chun-jie.chen@mediatek.corp-partner.google.com>2021-11-12 09:42:12 +0800
committerHung-Te Lin <hungte@chromium.org>2021-11-17 10:31:23 +0000
commitc7e17bce06f36f52652f9ce0865d7fff38446caa (patch)
tree895be9d3490f10128496a362cef6d57e72bf56ef /src/soc/mediatek/mt8186/spm.c
parentad5fda5fbf1ce5b1f009930992bb7f8280dd063c (diff)
soc/mediatek/mt8186: Add mtcmos init support
Add mtcmos to support display and audio. TEST=build pass BUG=b:202871018 Signed-off-by: Chun-Jie Chen <chun-jie.chen@mediatek.com> Change-Id: Ib9d41d47f235376f524c3ff78f1fcc069cbc60cd Reviewed-on: https://review.coreboot.org/c/coreboot/+/59343 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8186/spm.c')
-rw-r--r--src/soc/mediatek/mt8186/spm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8186/spm.c b/src/soc/mediatek/mt8186/spm.c
index 41fa913856..bc263eb1e3 100644
--- a/src/soc/mediatek/mt8186/spm.c
+++ b/src/soc/mediatek/mt8186/spm.c
@@ -384,7 +384,7 @@ static void spm_hw_s1_state_monitor(int en)
static void spm_register_init(void)
{
/* Enable register control */
- write32(&mtk_spm->poweron_config_en,
+ write32(&mtk_spm->poweron_config_set,
SPM_REGWR_CFG_KEY | BCLK_CG_EN_LSB);
/* Init power control register */