repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
soc/intel/xeon_sp/spr: Drop microcode constraints
[coreboot2.git]
/
src
/
arch
/
arm
/
clock.c
blob
8855c75b3349c52ccd8febf19da0ebaed38cdbbd
1
/* SPDX-License-Identifier: BSD-3-Clause */
2
3
#include <stdint.h>
4
#include <arch/clock.h>
5
6
void
set_cntfrq
(
uint32_t
freq
)
7
{
8
__asm__
__volatile__
(
"mcr p15, 0, %0, c14, c0, 0
\n
"
::
"r"
(
freq
));
9
}