![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#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>
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) |
Definition at line 10 of file wdt.c.
Referenced by mtk_wdt_init().
int mtk_wdt_init | ( | void | ) |
Definition at line 31 of file wdt.c.
References BIOS_INFO, clrsetbits32, mtk_wdt, mtk_wdt_clr_status(), MTK_WDT_MODE_DUAL_MODE, MTK_WDT_MODE_ENABLE, MTK_WDT_MODE_EXT_POL, MTK_WDT_MODE_EXTEN, MTK_WDT_MODE_IRQ, MTK_WDT_MODE_KEY, MTK_WDT_STA_HW_RST, MTK_WDT_STA_SPM_RST, MTK_WDT_STA_SW_RST, mtk_wdt_swreset(), printk, read32(), mtk_wdt_regs::wdt_mode, and mtk_wdt_regs::wdt_status.
Referenced by bootblock_soc_init(), and mt8183_early_init().
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().