Rex-BC Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/64861 )
Change subject: soc/mediatek: Enable thermal hardware reset for MT8192 and MT8195 ......................................................................
soc/mediatek: Enable thermal hardware reset for MT8192 and MT8195
From CB:64676 and CB:64675, we implement the thermal hardware reset in mtk_wdt_preinit(). To enable it, we need to call this function in bootblock_soc_init().
BUG=none TEST=build pass
Signed-off-by: Bo-Chen Chen rex-bc.chen@mediatek.com Change-Id: I1904ff9387f7677a077068f2c3df923bd642ea3d --- M src/soc/mediatek/mt8192/bootblock.c M src/soc/mediatek/mt8195/bootblock.c 2 files changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/64861/1
diff --git a/src/soc/mediatek/mt8192/bootblock.c b/src/soc/mediatek/mt8192/bootblock.c index 3adf5c1..d819661 100644 --- a/src/soc/mediatek/mt8192/bootblock.c +++ b/src/soc/mediatek/mt8192/bootblock.c @@ -11,6 +11,7 @@ { mtk_mmu_init(); bustracker_init(); + mtk_wdt_preinit(); mtk_wdt_init(); mt_pll_init(); unmask_eint_event_mask(); diff --git a/src/soc/mediatek/mt8195/bootblock.c b/src/soc/mediatek/mt8195/bootblock.c index 813c0c8..00fe4e4 100644 --- a/src/soc/mediatek/mt8195/bootblock.c +++ b/src/soc/mediatek/mt8195/bootblock.c @@ -12,6 +12,7 @@ { mtk_mmu_init(); bustracker_init(); + mtk_wdt_preinit(); mtk_wdt_init(); mt_pll_init(); unmask_eint_event_mask();