mpc83xx: Get rid of CONFIG_SYS_LBC_*
[platform/kernel/u-boot.git] / include / time.h
index 5746ad9..9fd0d73 100644 (file)
@@ -1,6 +1,4 @@
-/*
- * SPDX-License-Identifier:    GPL-2.0+
- */
+/* SPDX-License-Identifier: GPL-2.0+ */
 
 #ifndef _TIME_H
 #define _TIME_H
@@ -16,6 +14,14 @@ unsigned long get_timer(unsigned long base);
 unsigned long timer_get_us(void);
 
 /*
+ * timer_test_add_offset()
+ *
+ * Allow tests to add to the time reported through lib/time.c functions
+ * offset: number of milliseconds to advance the system time
+ */
+void timer_test_add_offset(unsigned long offset);
+
+/*
  *     These inlines deal with timer wrapping correctly. You are
  *     strongly encouraged to use them
  *     1. Because people otherwise forget