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 /board/pcs440ep | |
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 'board/pcs440ep')
-rw-r--r-- | board/pcs440ep/pcs440ep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/pcs440ep/pcs440ep.c b/board/pcs440ep/pcs440ep.c index 118d81c..f67eedd 100644 --- a/board/pcs440ep/pcs440ep.c +++ b/board/pcs440ep/pcs440ep.c @@ -97,7 +97,8 @@ static void status_led_blink (void) void show_boot_progress (int val) { /* find all valid Codes for val in README */ - if (val == -30) return; + if (val == -BOOTSTAGE_ID_NEED_RESET) + return; if (val < 0) { /* smthing goes wrong */ status_led_blink (); |