diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-23 21:38:12 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-23 21:38:12 (EST) |
commit | ff73b9f4840510970789a0008445b7aa7431c038 (patch) | |
tree | 890e24ee7dea47abd949aef87975c1c7b87f24c7 /resources | |
parent | 44dbb6e5e4160ff8663df9f176bb6313cabb8ad1 (diff) | |
download | libreboot-ff73b9f4840510970789a0008445b7aa7431c038.zip libreboot-ff73b9f4840510970789a0008445b7aa7431c038.tar.gz libreboot-ff73b9f4840510970789a0008445b7aa7431c038.tar.bz2 |
ich9deblob: fix incorrect comment above gbe checksum function
Diffstat (limited to 'resources')
-rw-r--r-- | resources/utilities/ich9deblob/gbe/gbe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/utilities/ich9deblob/gbe/gbe.c b/resources/utilities/ich9deblob/gbe/gbe.c index 417f37b..504a4f7 100644 --- a/resources/utilities/ich9deblob/gbe/gbe.c +++ b/resources/utilities/ich9deblob/gbe/gbe.c @@ -42,8 +42,7 @@ unsigned short gbeGetRegionWordFrom8kBuffer(int index, char* regionData) } /* - * checksum calculation for 8k gbe region (algorithm based on datasheet) - * also works for 4k buffers, so long as isBackup remains false + * gbe checksum calculation (algorithm based on datasheet) */ unsigned short gbeGetChecksumFrom8kBuffer(char* regionData, unsigned short desiredValue, int byteOffset) { @@ -102,7 +101,7 @@ struct GBEREGIONRECORD_8K deblobbedGbeStructFromFactory(struct GBEREGIONRECORD_8 * show debugging info: show calculated (correct) cbe checksum and what * is actually stored, in a 4K gbe struct. Only for a single region. */ -void printGbeChecksumDataFromStruct4k(struct GBEREGIONRECORD_4K gbeStruct4k, char *romName, char* regionName) +void printGbeChecksumDataFromStruct4k(struct GBEREGIONRECORD_4K gbeStruct4k, char* romName, char* regionName) { printf( "%s Gbe (%s): calculated Gbe checksum: 0x%hx and actual GBe checksum: 0x%hx\n", |