summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/src/ich9gen
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-29 22:43:00 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-29 23:16:40 (EST)
commitf7e4961c04808311c55a018096b81ce6852d992e (patch)
tree5a270ea4c37553cf5c1fc6722f70f380505644ab /resources/utilities/ich9deblob/src/ich9gen
parent3e60ad76e2cef38bc59f6055c677ea2d890e10fe (diff)
downloadlibreboot-f7e4961c04808311c55a018096b81ce6852d992e.zip
libreboot-f7e4961c04808311c55a018096b81ce6852d992e.tar.gz
libreboot-f7e4961c04808311c55a018096b81ce6852d992e.tar.bz2
ich9deblob/ich9gen: change descriptor OEM string to LIBERATE
Diffstat (limited to 'resources/utilities/ich9deblob/src/ich9gen')
-rw-r--r--resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c b/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
index e166c55..cc7e022 100644
--- a/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
+++ b/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
@@ -213,15 +213,16 @@ struct DESCRIPTORREGIONRECORD generatedDescriptorStruct(unsigned int romSize)
descriptorStruct.descriptor2Map.reserved = 0x0000;
/* OEM section */
+ /* see ../descriptor/descriptor.c */
/* Magic String (ascii characters) */
- descriptorStruct.oemSection.magicString[0] = 0x37;
- descriptorStruct.oemSection.magicString[1] = 0x55;
- descriptorStruct.oemSection.magicString[2] = 0x52;
- descriptorStruct.oemSection.magicString[3] = 0x35;
- descriptorStruct.oemSection.magicString[4] = 0x31;
- descriptorStruct.oemSection.magicString[5] = 0x32;
- descriptorStruct.oemSection.magicString[6] = 0x57;
- descriptorStruct.oemSection.magicString[7] = 0x57;
+ descriptorStruct.oemSection.magicString[0] = 0x4c;
+ descriptorStruct.oemSection.magicString[1] = 0x49;
+ descriptorStruct.oemSection.magicString[2] = 0x42;
+ descriptorStruct.oemSection.magicString[3] = 0x45;
+ descriptorStruct.oemSection.magicString[4] = 0x52;
+ descriptorStruct.oemSection.magicString[5] = 0x41;
+ descriptorStruct.oemSection.magicString[6] = 0x54;
+ descriptorStruct.oemSection.magicString[7] = 0x45;
/* Padding */
for (i = 0; i < 248; i++) {
descriptorStruct.oemSection.padding[i] = 0xFF;