bootstage: Convert progress numbers 20-41 to enums
[oweals/u-boot.git] / arch / sparc / lib / board.c
index 519a4fbae7b0aaad3b85b4197384bdec603de6d4..770136b82a2fec9858e035fc9b41e50d389be6f0 100644 (file)
@@ -426,7 +426,7 @@ void hang(void)
 {
        puts("### ERROR ### Please RESET the board ###\n");
 #ifdef CONFIG_SHOW_BOOT_PROGRESS
-       show_boot_progress(-30);
+       show_boot_error(BOOTSTAGE_ID_NEED_RESET);
 #endif
        for (;;) ;
 }