summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/ich9deblob.c
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-23 23:10:23 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-23 23:10:23 (EST)
commitd993e696d62fba8a3ca3a2e27d9c0d527256ca58 (patch)
tree7529ddb4abcb3dc36ca850909ff3e7ed043b77a3 /resources/utilities/ich9deblob/ich9deblob.c
parent4286a86d77844026de788fe9283f710c7a7ec8ad (diff)
downloadlibreboot-d993e696d62fba8a3ca3a2e27d9c0d527256ca58.zip
libreboot-d993e696d62fba8a3ca3a2e27d9c0d527256ca58.tar.gz
libreboot-d993e696d62fba8a3ca3a2e27d9c0d527256ca58.tar.bz2
ich9deblob: debug in descriptor deblob moved to separate function
Diffstat (limited to 'resources/utilities/ich9deblob/ich9deblob.c')
-rw-r--r--resources/utilities/ich9deblob/ich9deblob.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/ich9deblob.c b/resources/utilities/ich9deblob/ich9deblob.c
index b6ad9cd..f8ed5a4 100644
--- a/resources/utilities/ich9deblob/ich9deblob.c
+++ b/resources/utilities/ich9deblob/ich9deblob.c
@@ -195,6 +195,12 @@ int main(int argc, char *argv[])
* Also, extend the BIOS region to fill the ROM image (after descriptor+gbe).
*/
deblobbedDescriptorStruct = deblobbedDescriptorStructFromFactory(factoryDescriptorStruct, factoryRomSize);
+ /*
+ * Debugging: show region locations in the
+ * original descriptor and the modified one
+ */
+ printDescriptorRegionLocations(factoryDescriptorStruct, "Original");
+ printDescriptorRegionLocations(deblobbedDescriptorStruct, "Modified");
/*
* Modify the Gbe region (see function for details)