summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/src/gbe/gbe.h
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-10 23:30:02 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-01-10 23:30:02 (EST)
commit6c8370cde6bb15b0c127fca60169db8380d87232 (patch)
tree8ffd19f8836c15867328f7efd912ac12d7177657 /resources/utilities/ich9deblob/src/gbe/gbe.h
parent6946ae4d032742b04445ae7ad7804970dbaaa7a8 (diff)
downloadlibreboot-6c8370cde6bb15b0c127fca60169db8380d87232.zip
libreboot-6c8370cde6bb15b0c127fca60169db8380d87232.tar.gz
libreboot-6c8370cde6bb15b0c127fca60169db8380d87232.tar.bz2
ich9deblob/ich9gen: rename checksum function
It's actually working on a 4KiB buffer, not an 8KiB buffer.
Diffstat (limited to 'resources/utilities/ich9deblob/src/gbe/gbe.h')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h
index ff620c4..39e7e67 100644
--- a/resources/utilities/ich9deblob/src/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/src/gbe/gbe.h
@@ -424,7 +424,7 @@ struct GBEREGIONRECORD_8K {
* ---------------------------------------------------------------------
*/
-uint16_t gbeGetChecksumFrom8kBuffer(uint16_t* regionData, uint16_t desiredValue, int gbeRegionBase);
+uint16_t gbeGetChecksumFrom4kBuffer(uint16_t* regionData, uint16_t desiredValue, int gbeRegionBase);
uint16_t gbeGetChecksumFrom4kStruct(struct GBEREGIONRECORD_4K gbeStruct4k, uint16_t desiredValue);
struct GBEREGIONRECORD_8K deblobbedGbeStructFromFactory(struct GBEREGIONRECORD_8K factoryGbeStruct8k);
int notCreatedHFileForGbeCFile(char* outFileName, char* cFileName);