1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

mkimage: Add a quiet mode

Some build systems want to be quiet unless there is a problem. At present
mkimage displays quite a bit of information when generating a FIT file. Add
a '-q' flag to silence this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Simon Glass
2016-05-01 13:55:38 -06:00
committed by Tom Rini
parent 8df81e17f8
commit bd6e142094
3 changed files with 7 additions and 2 deletions

View File

@@ -51,7 +51,8 @@ int imagetool_verify_print_header(
* successful
*/
if ((*curr)->print_header) {
(*curr)->print_header(ptr);
if (!params->quiet)
(*curr)->print_header(ptr);
} else {
fprintf(stderr,
"%s: print_header undefined for %s\n",