Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
327a0a7bafb9153b42893ce42bf84458cfa1be1e
/
.
/
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
);
}