diff options
Diffstat (limited to 'include/bootstage.h')
-rw-r--r-- | include/bootstage.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h index 06ab2c8ef0c..a00053888f6 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -204,6 +204,13 @@ enum bootstage_id { }; /* + * 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); + +/* * Board code can implement show_boot_progress() if needed. * * @param val Progress state (enum bootstage_id), or -id if an error |