summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-12-10 11:07:55 +0000
committerWolfgang Denk <wd@denx.de>2012-03-18 20:56:00 +0100
commit5ddb118da4cbd34c3c8a0231dedad56ba504699f (patch)
tree5fb2e7e107427bb6b30a5292283c88c65b42bd24 /net/eth.c
parent578ac1e9ba4c79175e69becb28e7157a84eff241 (diff)
downloadu-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 'net/eth.c')
-rw-r--r--net/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index aed4dd6..5cefe4c 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -280,7 +280,7 @@ int eth_initialize(bd_t *bis)
if (!eth_devices) {
puts ("No ethernet found.\n");
- show_boot_progress (-64);
+ show_boot_error(64);
} else {
struct eth_device *dev = eth_devices;
char *ethprime = getenv ("ethprime");