Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
799c3219146c8d246ef95f1fdb83dc7bc1f2be61
/
.
/
src
/
soc
/
nvidia
/
tegra124
/
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
));
}