[coreboot-gerrit] Change in coreboot[master]: cbfstool: Show current FMAP region in print

Patrick Rudolph (Code Review) gerrit at coreboot.org
Tue Jun 5 15:23:14 CEST 2018


Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/26862


Change subject: cbfstool: Show current FMAP region in print
......................................................................

cbfstool: Show current FMAP region in print

In case multiple FMAP regions are specific, print the FMAP name.
Useful if VBOOT is enabled.

Change-Id: Id6f29ebeda8a9bde6dfe39362e0f2a5e33c86b26
Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
---
M util/cbfstool/cbfstool.c
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/26862/1

diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 08f2e32..5ccfb39 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -955,8 +955,10 @@
 		return 1;
 	if (param.machine_parseable)
 		return cbfs_print_parseable_directory(&image);
-	else
+	else {
+		printf("FMAP REGION: %s\n", param.region_name);
 		return cbfs_print_directory(&image);
+	}
 }
 
 static int cbfs_extract(void)

-- 
To view, visit https://review.coreboot.org/26862
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id6f29ebeda8a9bde6dfe39362e0f2a5e33c86b26
Gerrit-Change-Number: 26862
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180605/0e119d06/attachment-0001.html>


More information about the coreboot-gerrit mailing list