aboutsummaryrefslogtreecommitdiff
path: root/common/env_common.c
diff options
context:
space:
mode:
authorSimon Glass2012-01-14 15:24:52 +0000
committerWolfgang Denk2012-03-18 21:33:05 +0100
commitc8e66db7893532f2222334e7c36ee841da34ef4c (patch)
treed06eaa23d0da3abe470b3b1df1748697afb1157c /common/env_common.c
parentcd24a6bf2183ac24080e0348e193ba627711fcbc (diff)
bootstage: Convert net progress numbers to enums
This changes over the network-related progress numbers to use enums from bootstage.h. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/env_common.c')
-rw-r--r--common/env_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_common.c b/common/env_common.c
index 49b55f1eefc..41e2f260dbc 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_error(60);
+ show_boot_error(BOOTSTAGE_ID_NET_CHECKSUM);
set_default_env("!bad CRC");
#endif
} else {