diff options
Diffstat (limited to 'include/common.h')
| -rw-r--r-- | include/common.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/include/common.h b/include/common.h index 399363af1..85eaa77aa 100644 --- a/include/common.h +++ b/include/common.h @@ -207,6 +207,13 @@ typedef void (interrupt_handler_t)(void *);  #endif /* CONFIG_SERIAL_MULTI */  /* + * Return the time since boot in microseconds, This is needed for bootstage + * and should be defined in CPU- or board-specific code. If undefined then + * millisecond resolution will be used (the standard get_timer()). + */ +ulong timer_get_boot_us(void); + +/*   * General Purpose Utilities   */  #define min(X, Y)				\ |