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>
This commit is contained in:
parent
7fd1e4b9b1
commit
fb87e413bd
|
@ -1072,9 +1072,11 @@ 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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue