Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
9cbbba68b650933cf552f9e1b969f08e463c641f
/
.
/
src
/
soc
/
mediatek
/
common
/
timer_prepare.c
blob: 3fb4be7f2d9f5ffb0bb462f29b1034a9544a7f8d [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<device/mmio.h>
#include
<soc/addressmap.h>
#include
<soc/timer.h>
void
timer_prepare
(
void
)
{
clrbits32
((
void
*)
SYSTIMER_BASE
,
COMP_FEATURE_MASK
);
setbits32
((
void
*)
SYSTIMER_BASE
,
COMP_25_MASK
);
}