[coreboot-gerrit] New patch to review for coreboot: util/cbfstool: Don't print region information on stderr by default

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Fri Dec 16 14:52:52 CET 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17899

-gerrit

commit 63a636326c4ee2f91c039bc058e730facc3ce9ae
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Fri Dec 16 14:51:53 2016 +0100

    util/cbfstool: Don't print region information on stderr by default
    
    It's usually not too interesting, so hide it behind -v.
    
    Change-Id: Icffb5ea4d70300ab06dfa0c9134d265433260368
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 util/cbfstool/cbfstool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index d3c15e0..25b3f6c 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -1151,7 +1151,8 @@ static int dispatch_command(struct command command)
 	if (command.accesses_region) {
 		assert(param.image_file);
 
-		if (partitioned_file_is_partitioned(param.image_file)) {
+		if (partitioned_file_is_partitioned(param.image_file) &&
+		    verbose > 0) {
 			LOG("Performing operation on '%s' region...\n",
 					param.region_name);
 		}



More information about the coreboot-gerrit mailing list