diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-24 04:13:49 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-24 04:25:30 +0000 |
commit | ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8 (patch) | |
tree | 93eb963dc5de0234f404f55a9ae915762fae6582 | |
parent | b0fd691b848acdd974689804a06ba22f308861df (diff) | |
download | librebootfr-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.tar.gz librebootfr-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.zip |
ich9deblob: add platform region to descriptor debug function
-rw-r--r-- | resources/utilities/ich9deblob/descriptor/descriptor.c | 8 | ||||
-rw-r--r-- | resources/utilities/ich9deblob/ich9deblob.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/descriptor/descriptor.c b/resources/utilities/ich9deblob/descriptor/descriptor.c index 6eba50b0..256c60af 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 495c0d5f..7609bb4e 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; } |