bootstage: Use show_boot_error() for -ve progress numbers
authorSimon Glass <sjg@chromium.org>
Sat, 10 Dec 2011 11:07:55 +0000 (11:07 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Mar 2012 19:56:00 +0000 (20:56 +0100)
commit5ddb118da4cbd34c3c8a0231dedad56ba504699f
tree5fb2e7e107427bb6b30a5292283c88c65b42bd24
parent578ac1e9ba4c79175e69becb28e7157a84eff241
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>
arch/powerpc/lib/board.c
arch/sparc/lib/board.c
common/cmd_bootm.c
common/cmd_ide.c
common/cmd_nand.c
common/cmd_net.c
common/env_common.c
common/image.c
include/bootstage.h
net/eth.c
post/post.c