coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
wdt.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
device/mmio.h
>
4
#include <soc/addressmap.h>
5
#include <
soc/wdt.h
>
6
7
#define MTK_WDT_CLR_STATUS 0x230001FF
8
9
void
mtk_wdt_clr_status
(
void
)
10
{
11
write32
(&
mtk_wdt
->
wdt_mode
,
MTK_WDT_CLR_STATUS
);
12
}
write32
static void write32(void *addr, uint32_t val)
Definition:
mmio.h:40
mtk_wdt_clr_status
__weak void mtk_wdt_clr_status(void)
Definition:
wdt.c:10
mmio.h
MTK_WDT_CLR_STATUS
#define MTK_WDT_CLR_STATUS
Definition:
wdt.c:7
mtk_wdt_regs::wdt_mode
u32 wdt_mode
Definition:
wdt.h:10
wdt.h
mtk_wdt
static struct mtk_wdt_regs *const mtk_wdt
Definition:
wdt.h:41
src
soc
mediatek
mt8195
wdt.c
Generated by
1.9.1