Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
f4c496d3e3e779b3d870d13e1e359a3b5f7087cb
/
.
/
src
/
soc
/
nvidia
/
tegra210
/
monotonic_timer.c
blob: 52d5335f6569376577957045652abebde8fd1422 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<device/mmio.h>
#include
<soc/addressmap.h>
#include
<timer.h>
void
timer_monotonic_get
(
struct
mono_time
*
mt
)
{
mono_time_set_usecs
(
mt
,
read32
((
void
*)
TEGRA_TMRUS_BASE
));
}