Skip to content
Snippets Groups Projects
Commit fc9ae1ba authored by Rajeshwari Shinde's avatar Rajeshwari Shinde Committed by Jagan Teki
Browse files

exynos: Export timer_get_us() to get microsecond timer


This function, if implemented by the board, provides a microsecond
timer. The granularity may be larger than 1us if hardware does not
support this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarRajeshwari S Shinde <rajeshwari.s@samsung.com>
Reviewed-by: default avatarJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
parent 3cfcf774
No related branches found
No related tags found
No related merge requests found
...@@ -596,6 +596,12 @@ void ddr_enable_ecc(unsigned int dram_size); ...@@ -596,6 +596,12 @@ void ddr_enable_ecc(unsigned int dram_size);
#endif #endif
#endif #endif
/*
* Return the current value of a monotonically increasing microsecond timer.
* Granularity may be larger than 1us if hardware does not support this.
*/
ulong timer_get_us(void);
/* $(CPU)/cpu.c */ /* $(CPU)/cpu.c */
static inline int cpumask_next(int cpu, unsigned int mask) static inline int cpumask_next(int cpu, unsigned int mask)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment