projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'net' of git://www.denx.de/git/u-boot-microblaze
[platform/kernel/u-boot.git]
/
lib
/
time.c
diff --git
a/lib/time.c
b/lib/time.c
index
8085aa4
..
73c3b6a
100644
(file)
--- 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;