From fb87e413bd045c67ef681a66b7bd99dfe9c43dcf Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 5 Jun 2018 15:11:01 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/26862 Reviewed-by: Philipp Deppenwiese Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- util/cbfstool/cbfstool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util/cbfstool/cbfstool.c') 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) -- cgit v1.2.3