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
drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git]
/
src
/
soc
/
mediatek
/
mt8196
/
timer.c
blob
bf3f3cee636086a4d24887ec2466492e4b87b068
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <arch/lib_helpers.h>
4
#include <commonlib/helpers.h>
5
#include <delay.h>
6
#include <soc/timer.h>
7
8
void
init_timer
(
void
)
9
{
10
timer_prepare
();
11
12
raw_write_cntfrq_el0
(
GPT_MHZ
*
MHz
);
13
}