summaryrefslogtreecommitdiffstats
path: root/include/bootstage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bootstage.h')
-rw-r--r--include/bootstage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index ddfb07a225..63a6435c2c 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
OpenPOWER on IntegriCloud