diff options
author | Tom Rini <trini@konsulko.com> | 2016-12-20 08:42:50 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-20 08:42:50 -0500 |
commit | 7588bf939090c1110f2067895f026ebe81b30d72 (patch) | |
tree | 26068670a26bad3f483bcc61fb616bf5fa8f343a /common/image.c | |
parent | 36737f22b78a475c6bbc8a0467b51e4d95b52a7d (diff) | |
parent | 950f86ca38325c9ae7874895d2cdbdda5496e712 (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'common/image.c')
-rw-r--r-- | common/image.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/image.c b/common/image.c index bd07e86701a..909dbed1f20 100644 --- a/common/image.c +++ b/common/image.c @@ -1375,11 +1375,10 @@ int boot_get_fpga(int argc, char * const argv[], bootm_headers_t *images, img_len, BIT_PARTIAL); } - printf(" Programming %s bitstream... ", name); if (err) - printf("failed\n"); - else - printf("OK\n"); + return err; + + printf(" Programming %s bitstream... OK\n", name); break; default: printf("The given image format is not supported (corrupt?)\n"); |