]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/time.c
fw_env: calculate default number of env sectors
[karo-tx-uboot.git] / lib / time.c
index 8085aa40d1c96de75c4af0fcf74e2a8b917458c6..73c3b6ad7ff4503c3b485dbdab091601575e3a12 100644 (file)
@@ -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;