From ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Wed, 24 Dec 2014 04:13:49 +0000 Subject: ich9deblob: add platform region to descriptor debug function --- resources/utilities/ich9deblob/descriptor/descriptor.c | 8 ++++++++ resources/utilities/ich9deblob/ich9deblob.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2