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

Go to the source code of this file.

Functions

void timer_prepare (void)
 

Function Documentation

◆ timer_prepare()

void timer_prepare ( void  )

Definition at line 7 of file timer.c.

References GPT_MHZ, mt8173_mcucfg, write32(), mt8173_mcucfg_regs::xgpt_ctl, and mt8173_mcucfg_regs::xgpt_idx.

Here is the call graph for this function: