summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/gbe/gbe.h
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-23 20:23:14 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-23 20:23:14 (EST)
commit96ef8d99ba1e28b11bc788b5439ee511f2e171de (patch)
tree7cc60c76cfbf4bdfa1988daa230119cb1f2932f8 /resources/utilities/ich9deblob/gbe/gbe.h
parent692c63adc4c486a8b5ce01a5869c45d69d243e09 (diff)
downloadlibreboot-96ef8d99ba1e28b11bc788b5439ee511f2e171de.zip
libreboot-96ef8d99ba1e28b11bc788b5439ee511f2e171de.tar.gz
libreboot-96ef8d99ba1e28b11bc788b5439ee511f2e171de.tar.bz2
ich9deblob: make gbe checksum function take byte offset directly
Diffstat (limited to 'resources/utilities/ich9deblob/gbe/gbe.h')
-rw-r--r--resources/utilities/ich9deblob/gbe/gbe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/gbe/gbe.h b/resources/utilities/ich9deblob/gbe/gbe.h
index 9647d80..d0ad649 100644
--- a/resources/utilities/ich9deblob/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/gbe/gbe.h
@@ -82,7 +82,7 @@ struct GBEREGIONRECORD_8K {
*/
unsigned short gbeGetRegionWordFrom8kBuffer(int index, char* regionData);
-unsigned short gbeGetChecksumFrom8kBuffer(char* regionData, unsigned short desiredValue, char isBackup);
+unsigned short gbeGetChecksumFrom8kBuffer(char* regionData, unsigned short desiredValue, int byteOffset);
unsigned short gbeGetChecksumFrom4kStruct(struct GBEREGIONRECORD_4K gbeStruct4k, unsigned short desiredValue);
struct GBEREGIONRECORD_8K deblobbedGbeStructFromFactory(struct GBEREGIONRECORD_8K factoryGbeStruct8k);