diff options
author | Simon Glass <sjg@chromium.org> | 2011-12-10 11:07:58 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 21:16:22 +0100 |
commit | 8ade95063815d8ffca7cededa6c40cddec857d38 (patch) | |
tree | 824dbabdbbb3687580df631f026af187c9c1e362 /arch | |
parent | 5e41088364582b6435f6d7a6e6d7a36f3fa94701 (diff) | |
download | u-boot-imx-8ade95063815d8ffca7cededa6c40cddec857d38.zip u-boot-imx-8ade95063815d8ffca7cededa6c40cddec857d38.tar.gz u-boot-imx-8ade95063815d8ffca7cededa6c40cddec857d38.tar.bz2 |
bootstage: Convert progress numbers 20-41 to enums
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/lib/board.c | 2 | ||||
-rw-r--r-- | arch/sparc/lib/board.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 36cfe7d..dca3fd7 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -1064,7 +1064,7 @@ void board_init_r(gd_t *id, ulong dest_addr) void hang(void) { puts("### ERROR ### Please RESET the board ###\n"); - show_boot_error(30); + show_boot_error(BOOTSTAGE_ID_NEED_RESET); for (;;) ; } diff --git a/arch/sparc/lib/board.c b/arch/sparc/lib/board.c index fcbc666..770136b 100644 --- a/arch/sparc/lib/board.c +++ b/arch/sparc/lib/board.c @@ -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 (;;) ; } |