]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/bootstage.h
bootstage: Use show_boot_error() for -ve progress numbers
[karo-tx-uboot.git] / include / bootstage.h
index ddfb07a225103e5c4f9b374f8cdbdcbde47a1f61..63a6435c2cce28c59f349c9a62605e454ff4cf74 100644 (file)
@@ -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