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

Unified Diff: utility/load_firmware_test.c

Issue 6877077: Update firmware section names (Closed) Base URL: ssh://gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/load_firmware_test.c
diff --git a/utility/load_firmware_test.c b/utility/load_firmware_test.c
index 6a4eb8af7fcb9e02500794641a55ab16a9fce811..8a9cb236fd6b66d7e4e0575cb918142c97b70fab 100644
--- a/utility/load_firmware_test.c
+++ b/utility/load_firmware_test.c
@@ -57,7 +57,7 @@ void* GetFirmwareGBB(const void* base_of_rom, const void* fmap,
const FmapHeader* fh = (const FmapHeader*) fmap;
const FmapAreaHeader* ah = (const FmapAreaHeader*)
(fmap + sizeof(FmapHeader));
- int i = FmapAreaIndexOrError(fh, ah, "GBB Area");
+ int i = FmapAreaIndexOrError(fh, ah, "GBB");
if (i < 0)
return NULL;
@@ -79,8 +79,8 @@ void* GetFirmwareGBB(const void* base_of_rom, const void* fmap,
int GetVerificationBlock(const void* base_of_rom, const void* fmap, int index,
void** verification_block_ptr, uint64_t* verification_size_ptr) {
const char* key_area_name[2] = {
- "Firmware A Key",
- "Firmware B Key"
+ "VBLOCK_A",
+ "VBLOCK_B"
};
const FmapHeader* fh = (const FmapHeader*) fmap;
const FmapAreaHeader* ah = (const FmapAreaHeader*)
@@ -108,8 +108,8 @@ int GetVerificationBlock(const void* base_of_rom, const void* fmap, int index,
int GetFirmwareData(const void* base_of_rom, const void* fmap, int index,
void *verification_block, uint8_t** body_ptr, uint64_t *size_ptr) {
const char* data_area_name[2] = {
- "Firmware A Data",
- "Firmware B Data"
+ "FW_MAIN_A",
+ "FW_MAIN_B"
};
const FmapHeader* fh = (const FmapHeader*) fmap;
const FmapAreaHeader* ah = (const FmapAreaHeader*)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698