[coreboot-gerrit] Change in coreboot[master]: cbfstool: Add region offset information to layout command

Werner Zeh (Code Review) gerrit at coreboot.org
Thu Apr 26 09:31:29 CEST 2018


Werner Zeh has uploaded this change for review. ( https://review.coreboot.org/25851


Change subject: cbfstool: Add region offset information to layout command
......................................................................

cbfstool: Add region offset information to layout command

The layout command prints all FMAP regions in the final image among with
the region size. Extend this command to show the offset of each region
in the image.

Change-Id: I5f945ba046bd2f1cb50a93e90eb887f60c6fde8a
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
---
M util/cbfstool/cbfstool.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/25851/1

diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 7156e00..d4de409 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -930,7 +930,8 @@
 			qualifier = "read-only, ";
 		else if (region_is_modern_cbfs((const char *)current->name))
 			qualifier = "CBFS, ";
-		printf(" (%ssize %u)\n", qualifier, current->size);
+		printf(" (%ssize %u, offset %u)\n", qualifier, current->size,
+				current->offset);
 
 		i += lookahead - 1;
 	}

-- 
To view, visit https://review.coreboot.org/25851
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: I5f945ba046bd2f1cb50a93e90eb887f60c6fde8a
Gerrit-Change-Number: 25851
Gerrit-PatchSet: 1
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180426/839cc18d/attachment.html>


More information about the coreboot-gerrit mailing list