summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-06-05 15:11:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-07-13 14:34:00 +0000
commitfb87e413bd045c67ef681a66b7bd99dfe9c43dcf (patch)
tree39aff3f31b038ad92d7308f0f4504dbd6fcd8902 /util/cbfstool
parent7fd1e4b9b1f992b67a0bb2628130db42c0ab4dac (diff)
downloadcoreboot-fb87e413bd045c67ef681a66b7bd99dfe9c43dcf.tar.xz
cbfstool: Show current FMAP region in print
In case multiple FMAP regions are specified, print the FMAP name. Useful if VBOOT is enabled and multiple CBFS are printed. Change-Id: Id6f29ebeda8a9bde6dfe39362e0f2a5e33c86b26 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/26862 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/cbfstool.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 54e2e952bb..f8b1f65c36 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -1072,8 +1072,10 @@ static int cbfs_print(void)
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)