summaryrefslogtreecommitdiffstats
path: root/common/cmd_doc.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-03-12 10:33:01 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-03-12 10:33:01 +0100
commit1372cce2b9040fb640e5032b84e3a033a22d6ff0 (patch)
tree6d0b4c288d75c74e82e49bb58925079886a9f0dc /common/cmd_doc.c
parentc28c4d193dbfb20b2dd3a5447640fd6de7fd0720 (diff)
downloadtalos-obmc-uboot-1372cce2b9040fb640e5032b84e3a033a22d6ff0.tar.gz
talos-obmc-uboot-1372cce2b9040fb640e5032b84e3a033a22d6ff0.zip
[new uImage] Use show_boot_progress() for new uImage format
This patch allocates a set of show_boot_progress() IDs for new uImage format and adds show_boot_progress() calls in new uImage format handling code. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'common/cmd_doc.c')
-rw-r--r--common/cmd_doc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_doc.c b/common/cmd_doc.c
index bf2f0a95fb..83aba3744e 100644
--- a/common/cmd_doc.c
+++ b/common/cmd_doc.c
@@ -276,9 +276,11 @@ int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
case IMAGE_FORMAT_FIT:
fit_hdr = (const void *)addr;
if (!fit_check_format (fit_hdr)) {
+ show_boot_progress (-130);
puts ("** Bad FIT image format\n");
return 1;
}
+ show_boot_progress (131);
puts ("Fit image detected...\n");
cnt = fit_get_size (fit_hdr);
OpenPOWER on IntegriCloud