| Index: src/platform/vboot_reference/vfirmware/include/firmware_image.h
|
| diff --git a/src/platform/vboot_reference/vfirmware/include/firmware_image.h b/src/platform/vboot_reference/vfirmware/include/firmware_image.h
|
| index fcd66f77b3129b361e2af842f867a139e18833f1..7bf53604f4b7627831228b0322377cc80bae26fc 100644
|
| --- a/src/platform/vboot_reference/vfirmware/include/firmware_image.h
|
| +++ b/src/platform/vboot_reference/vfirmware/include/firmware_image.h
|
| @@ -56,13 +56,17 @@ uint8_t* GetFirmwareBlob(const FirmwareImage* image, uint64_t* blob_len);
|
|
|
| /* Write firmware data from [image] into a file named [input_file].
|
| *
|
| - * If [is_just_vblock] is 1, only the verification block (excluding the
|
| - * actual firmware_data) is written.
|
| + * If [is_just_vblock] is non-zero, only the verification block (excluding the
|
| + * actual firmware_data) is output.
|
| + * if [is_subkey_out] is non-zero, only the firmware key verification (subkey)
|
| + * header is output.
|
| + *
|
| * Return 1 on success, 0 on failure.
|
| */
|
| int WriteFirmwareImage(const char* input_file,
|
| const FirmwareImage* image,
|
| - int is_only_vblock);
|
| + int is_only_vblock,
|
| + int is_subkey_out);
|
|
|
| /* Pretty print the contents of [image]. Only headers and metadata information
|
| * is printed.
|
|
|