X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=lib%2Ftime.c;h=73c3b6ad7ff4503c3b485dbdab091601575e3a12;hb=01a3647abdca096245c6b1d0c32e348efc07c67d;hp=8085aa40d1c96de75c4af0fcf74e2a8b917458c6;hpb=4641c211f6e37454c30770521c4de79c725036b0;p=karo-tx-uboot.git diff --git a/lib/time.c b/lib/time.c index 8085aa40d1..73c3b6ad7f 100644 --- a/lib/time.c +++ b/lib/time.c @@ -60,6 +60,11 @@ static unsigned long long notrace tick_to_time(uint64_t tick) return tick; } +int __weak timer_init(void) +{ + return 0; +} + ulong __weak get_timer(ulong base) { return tick_to_time(get_ticks()) - base;