summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-12-10 11:07:58 +0000
committerWolfgang Denk <wd@denx.de>2012-03-18 21:16:22 +0100
commit8ade95063815d8ffca7cededa6c40cddec857d38 (patch)
tree824dbabdbbb3687580df631f026af187c9c1e362 /post
parent5e41088364582b6435f6d7a6e6d7a36f3fa94701 (diff)
bootstage: Convert progress numbers 20-41 to enums
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'post')
-rw-r--r--post/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/post.c b/post/post.c
index f3830be678..9579a94b9b 100644
--- a/post/post.c
+++ b/post/post.c
@@ -158,7 +158,7 @@ void post_output_backlog(void)
post_log("PASSED\n");
else {
post_log("FAILED\n");
- show_boot_error(31);
+ show_boot_error(BOOTSTAGE_ID_POST_FAIL_R);
}
}
}
@@ -295,7 +295,7 @@ static int post_run_single(struct post_test *test,
} else {
if ((*test->test)(flags) != 0) {
post_log("FAILED\n");
- show_boot_error(32);
+ show_boot_error(BOOTSTAGE_ID_POST_FAIL_R);
show_post_progress(i, POST_AFTER, POST_FAILED);
if (test_flags & POST_CRITICAL)
gd->flags |= GD_FLG_POSTFAIL;