Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: src/platform/vboot_reference/vfirmware/include/firmware_image.h

Issue 1525032: Add a --vblock option to firmware_utility to only output the verification block. (Closed)
Patch Set: fix typo Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/vboot_reference/vfirmware/firmware_image.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19a87d9bf728712183f244151eb3f6ca14b30bf8..fcd66f77b3129b361e2af842f867a139e18833f1 100644
--- a/src/platform/vboot_reference/vfirmware/include/firmware_image.h
+++ b/src/platform/vboot_reference/vfirmware/include/firmware_image.h
@@ -56,10 +56,13 @@ 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.
* Return 1 on success, 0 on failure.
*/
int WriteFirmwareImage(const char* input_file,
- const FirmwareImage* image);
+ const FirmwareImage* image,
+ int is_only_vblock);
/* Pretty print the contents of [image]. Only headers and metadata information
* is printed.
« no previous file with comments | « src/platform/vboot_reference/vfirmware/firmware_image.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698