coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
wdt.c File Reference
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/wdt.h>
Include dependency graph for wdt.c:

Go to the source code of this file.

Macros

#define MTK_WDT_CLR_STATUS_VAL   0x22
 
#define MTK_WDT_REQ_MOD_KEY_VAL   0x33
 

Functions

void mtk_wdt_preinit (void)
 
void mtk_wdt_clr_status (void)
 

Macro Definition Documentation

◆ MTK_WDT_CLR_STATUS_VAL

#define MTK_WDT_CLR_STATUS_VAL   0x22

Definition at line 12 of file wdt.c.

◆ MTK_WDT_REQ_MOD_KEY_VAL

#define MTK_WDT_REQ_MOD_KEY_VAL   0x33

Definition at line 13 of file wdt.c.

Function Documentation

◆ mtk_wdt_clr_status()

void mtk_wdt_clr_status ( void  )

◆ mtk_wdt_preinit()

void mtk_wdt_preinit ( void  )

Definition at line 19 of file wdt.c.

References mtk_wdt, MTK_WDT_REQ_MOD_KEY_VAL, SET32_BITFIELDS, and mtk_wdt_regs::wdt_req_mode.

Referenced by bootblock_soc_init().

Here is the caller graph for this function: