coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
timer_common.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_MEDIATEK_COMMON_TIMER_COMMON_H
4 #define SOC_MEDIATEK_COMMON_TIMER_COMMON_H
5 
6 #include <types.h>
7 
8 enum {
14 };
15 
16 /*
17  * This is defined as weak no-ops that can be overridden by legacy SOCs. Some
18  * legacy SOCs need specific settings before init timer. And we expect future
19  * SOCs will not need it.
20  */
21 void timer_prepare(void);
22 
23 #endif
#define BIT(nr)
Definition: ec_commands.h:45
@ GPT6_CON_EN
Definition: timer_common.h:9
@ GPT6_MODE_FREERUN
Definition: timer_common.h:11
@ GPT6_CON_CLR
Definition: timer_common.h:10
@ GPT6_CLK_CLK6_SYS
Definition: timer_common.h:12
@ GPT6_CLK_CLKDIV_DIV1
Definition: timer_common.h:13
void timer_prepare(void)
Definition: timer.c:13