summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/wdt.c
blob: 44f0f7f79ba3135171e6562d3d69a5f9c51042b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */

#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/wdt.h>

#define MTK_WDT_CLR_STATUS 0x230001FF

void mtk_wdt_clr_status(void)
{
	write32(&mtk_wdt->wdt_mode, MTK_WDT_CLR_STATUS);
}