diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-01-10 19:51:32 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-01-10 22:04:47 (EST) |
commit | b833801ae4a0179ff29a661a9932fe0f56173d80 (patch) | |
tree | 09f32bce0ed6c6aa8f8c26a1ef6dd4267a8fed52 /resources/utilities/ich9deblob/src/gbe/gbe.h | |
parent | 2e909117e9733070a23d4164ba7c30b2f8d825a9 (diff) | |
download | libreboot-b833801ae4a0179ff29a661a9932fe0f56173d80.zip libreboot-b833801ae4a0179ff29a661a9932fe0f56173d80.tar.gz libreboot-b833801ae4a0179ff29a661a9932fe0f56173d80.tar.bz2 |
ich9deblob/ich9gen: re-factor the gbe checksum function
Diffstat (limited to 'resources/utilities/ich9deblob/src/gbe/gbe.h')
-rw-r--r-- | resources/utilities/ich9deblob/src/gbe/gbe.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h index 68b9ed7..ff620c4 100644 --- a/resources/utilities/ich9deblob/src/gbe/gbe.h +++ b/resources/utilities/ich9deblob/src/gbe/gbe.h @@ -424,8 +424,7 @@ struct GBEREGIONRECORD_8K { * --------------------------------------------------------------------- */ -uint16_t gbeGetRegionWordFrom8kBuffer(int wordOffset, uint8_t* regionData); -uint16_t gbeGetChecksumFrom8kBuffer(uint8_t* regionData, uint16_t desiredValue, int byteOffset); +uint16_t gbeGetChecksumFrom8kBuffer(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); |