bootstage: Convert progress numbers 20-41 to enums

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2011-12-10 11:07:58 +00:00
committed by Wolfgang Denk
parent 5e41088364
commit 8ade950638
6 changed files with 34 additions and 6 deletions

View File

@@ -426,7 +426,7 @@ void hang(void)
{
puts("### ERROR ### Please RESET the board ###\n");
#ifdef CONFIG_SHOW_BOOT_PROGRESS
show_boot_error(30);
show_boot_error(BOOTSTAGE_ID_NEED_RESET);
#endif
for (;;) ;
}