summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-23 23:13:49 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-23 23:25:30 (EST)
commitff02272f5d5a1d94de95bfb9ec8061b7f519a4a8 (patch)
tree93eb963dc5de0234f404f55a9ae915762fae6582 /resources
parentb0fd691b848acdd974689804a06ba22f308861df (diff)
downloadlibreboot-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.zip
libreboot-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.tar.gz
libreboot-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.tar.bz2
ich9deblob: add platform region to descriptor debug function
Diffstat (limited to 'resources')
-rw-r--r--resources/utilities/ich9deblob/descriptor/descriptor.c8
-rw-r--r--resources/utilities/ich9deblob/ich9deblob.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/descriptor/descriptor.c b/resources/utilities/ich9deblob/descriptor/descriptor.c
index 6eba50b..256c60a 100644
--- a/resources/utilities/ich9deblob/descriptor/descriptor.c
+++ b/resources/utilities/ich9deblob/descriptor/descriptor.c
@@ -161,5 +161,13 @@ void printDescriptorRegionLocations(struct DESCRIPTORREGIONRECORD descriptorStru
descriptorStruct.regionSection.flReg3.LIMIT << FLREGIONBITSHIFT
);
+ /* Platform region */
+ printf(
+ "%s: Platform start block: %08x ; GBe end block: %08x\n",
+ romName,
+ descriptorStruct.regionSection.flReg4.BASE << FLREGIONBITSHIFT,
+ descriptorStruct.regionSection.flReg4.LIMIT << FLREGIONBITSHIFT
+ );
+
return;
}
diff --git a/resources/utilities/ich9deblob/ich9deblob.c b/resources/utilities/ich9deblob/ich9deblob.c
index 495c0d5..7609bb4 100644
--- a/resources/utilities/ich9deblob/ich9deblob.c
+++ b/resources/utilities/ich9deblob/ich9deblob.c
@@ -255,7 +255,7 @@ int main(int argc, char *argv[])
// -------------------------------------------------------------------------------------
printf("\nNow do: dd if=deblobbed_descriptor.bin of=libreboot.rom bs=1 count=12k conv=notrunc");
- printf("\n(in other words, add the modified descriptor+gbe to your ROM image)\n");
+ printf("\n(in other words, add the modified descriptor+gbe to your ROM image)\n\n");
return 0;
}