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

Go to the source code of this file.

Functions

__weak void mtk_wdt_clr_status (void)
 
static void mtk_wdt_swreset (void)
 
int mtk_wdt_init (void)
 

Function Documentation

◆ mtk_wdt_clr_status()

__weak void mtk_wdt_clr_status ( void  )

Definition at line 10 of file wdt.c.

Referenced by mtk_wdt_init().

Here is the caller graph for this function:

◆ mtk_wdt_init()

◆ mtk_wdt_swreset()

static void mtk_wdt_swreset ( void  )
inlinestatic

Definition at line 12 of file wdt.c.

References BIOS_INFO, dcache_clean_all(), halt(), mtk_wdt, MTK_WDT_MODE_EXTEN, MTK_WDT_MODE_KEY, MTK_WDT_SWRST_KEY, printk, setbits32, mtk_wdt_regs::wdt_mode, mtk_wdt_regs::wdt_swrst, and write32().

Referenced by mtk_wdt_init().

Here is the call graph for this function:
Here is the caller graph for this function: