diff options
author | Simon Glass <sjg@chromium.org> | 2011-12-10 11:07:55 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 20:56:00 +0100 |
commit | 5ddb118da4cbd34c3c8a0231dedad56ba504699f (patch) | |
tree | 5fb2e7e107427bb6b30a5292283c88c65b42bd24 /common/env_common.c | |
parent | 578ac1e9ba4c79175e69becb28e7157a84eff241 (diff) | |
download | u-boot-imx-5ddb118da4cbd34c3c8a0231dedad56ba504699f.zip u-boot-imx-5ddb118da4cbd34c3c8a0231dedad56ba504699f.tar.gz u-boot-imx-5ddb118da4cbd34c3c8a0231dedad56ba504699f.tar.bz2 |
bootstage: Use show_boot_error() for -ve progress numbers
Rather than the caller negating our progress numbers to indicate an
error has occurred, which seems hacky, add a function to indicate this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/env_common.c')
-rw-r--r-- | common/env_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_common.c b/common/env_common.c index 71811c4..49b55f1 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -228,7 +228,7 @@ void env_relocate(void) #if defined(CONFIG_ENV_IS_NOWHERE) /* Environment not changable */ set_default_env(NULL); #else - show_boot_progress(-60); + show_boot_error(60); set_default_env("!bad CRC"); #endif } else { |