xref: /rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/timer.h (revision 150c24936b70ce36e11069038ba8e955704cab3a)
1*150c2493STom Warren /*
2*150c2493STom Warren  * Copyright (c) 2011 The Chromium OS Authors.
3*150c2493STom Warren  * See file CREDITS for list of people who contributed to this
4*150c2493STom Warren  * project.
5*150c2493STom Warren  *
6*150c2493STom Warren  * This program is free software; you can redistribute it and/or
7*150c2493STom Warren  * modify it under the terms of the GNU General Public License as
8*150c2493STom Warren  * published by the Free Software Foundation; either version 2 of
9*150c2493STom Warren  * the License, or (at your option) any later version.
10*150c2493STom Warren  *
11*150c2493STom Warren  * This program is distributed in the hope that it will be useful,
12*150c2493STom Warren  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*150c2493STom Warren  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14*150c2493STom Warren  * GNU General Public License for more details.
15*150c2493STom Warren  *
16*150c2493STom Warren  * You should have received a copy of the GNU General Public License
17*150c2493STom Warren  * along with this program; if not, write to the Free Software
18*150c2493STom Warren  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19*150c2493STom Warren  * MA 02111-1307 USA
20*150c2493STom Warren  */
21*150c2493STom Warren 
22*150c2493STom Warren /* Tegra20 timer functions */
23*150c2493STom Warren 
24*150c2493STom Warren #ifndef _TEGRA_TIMER_H
25*150c2493STom Warren #define _TEGRA_TIMER_H
26*150c2493STom Warren 
27*150c2493STom Warren /* returns the current monotonic timer value in microseconds */
28*150c2493STom Warren unsigned long timer_get_us(void);
29*150c2493STom Warren 
30*150c2493STom Warren #endif
31