Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
b164d7a291ac0a4fefe17a017e6e78a8f42befe3
/
.
/
src
/
arch
/
arm
/
clock.c
blob: 8855c75b3349c52ccd8febf19da0ebaed38cdbbd [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: BSD-3-Clause */
#include
<stdint.h>
#include
<arch/clock.h>
void
set_cntfrq
(
uint32_t
freq
)
{
__asm__ __volatile__
(
"mcr p15, 0, %0, c14, c0, 0\n"
::
"r"
(
freq
));
}