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