summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8188/bootblock.c
diff options
context:
space:
mode:
authorBo-Chen Chen <rex-bc.chen@mediatek.com>2022-07-04 19:46:33 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-07-06 15:21:03 +0000
commit22d30c4faeea969c934912bfe921490bc77b2a47 (patch)
treecbb7877b5bcb0fd4d19ed8175d60c18d74e556c6 /src/soc/mediatek/mt8188/bootblock.c
parent0e03fa3f6e474aa28a9151e5d9f152619636650c (diff)
downloadcoreboot-22d30c4faeea969c934912bfe921490bc77b2a47.tar.gz
coreboot-22d30c4faeea969c934912bfe921490bc77b2a47.tar.bz2
coreboot-22d30c4faeea969c934912bfe921490bc77b2a47.zip
soc/mediatek/mt8188: Initialize watchdog
Add watchdog support for MT8188. This implementation is based on chapter 3.10.10 in MT8188 Functional Specification. TEST=build pass BUG=b:233720142 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: Iaf56c78d89af53d0272583b463c050e69bbeb07a Reviewed-on: https://review.coreboot.org/c/coreboot/+/65587 Reviewed-by: Yidi Lin <yidilin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8188/bootblock.c')
-rw-r--r--src/soc/mediatek/mt8188/bootblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8188/bootblock.c b/src/soc/mediatek/mt8188/bootblock.c
index f48e78c309a3..770c6031dabf 100644
--- a/src/soc/mediatek/mt8188/bootblock.c
+++ b/src/soc/mediatek/mt8188/bootblock.c
@@ -2,8 +2,10 @@
#include <bootblock_common.h>
#include <soc/mmu_operations.h>
+#include <soc/wdt.h>
void bootblock_soc_init(void)
{
mtk_mmu_init();
+ mtk_wdt_init();
}