diff --git a/arch/openrisc/lib/timer.c b/arch/openrisc/lib/timer.c index 4e92a3115907771da1bc826118c19528a0c2a58f..89e644bc4736ab59853cf615bc5da5b678cb7618 100644 --- a/arch/openrisc/lib/timer.c +++ b/arch/openrisc/lib/timer.c @@ -86,6 +86,16 @@ void set_timer(ulong t) timestamp = t; } +unsigned long long get_ticks(void) +{ + return get_timer(0); +} + +ulong get_tbclk(void) +{ + return CONFIG_SYS_HZ; +} + void __udelay(ulong usec) { ulong elapsed = 0;