summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bootstage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index ddfb07a..63a6435 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -54,5 +54,9 @@ enum bootstage_id {
* has occurred.
*/
void show_boot_progress(int val);
+static inline void show_boot_error(int val)
+{
+ show_boot_progress(-val);
+}
#endif