libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit a874b581de0b7ff9dc1186ec2443e34aa97c3658
parent 3d6abbe4f438b806b4b30ba64da4530df754f4de
Author: Swift Geek <swiftgeek@gmail.com>
Date:   Sat, 14 May 2016 07:45:11 +0200

Add 16MiB descriptor generation

Diffstat:
resources/utilities/ich9deblob/src/ich9gen.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/resources/utilities/ich9deblob/src/ich9gen.c b/resources/utilities/ich9deblob/src/ich9gen.c @@ -27,8 +27,10 @@ int main(int argc, char *argv[]) struct GBEREGIONRECORD_8K gbeStruct8k = generatedGbeStruct8k(); struct DESCRIPTORREGIONRECORD descriptorStruct4M = generatedDescriptorStruct(ROMSIZE_4MB, WITHGBE); struct DESCRIPTORREGIONRECORD descriptorStruct8M = generatedDescriptorStruct(ROMSIZE_8MB, WITHGBE); + struct DESCRIPTORREGIONRECORD descriptorStruct16M = generatedDescriptorStruct(ROMSIZE_16MB, WITHGBE); struct DESCRIPTORREGIONRECORD descriptorStructNoGbe4M = generatedDescriptorStruct(ROMSIZE_4MB, WITHOUTGBE); struct DESCRIPTORREGIONRECORD descriptorStructNoGbe8M = generatedDescriptorStruct(ROMSIZE_8MB, WITHOUTGBE); + struct DESCRIPTORREGIONRECORD descriptorStructNoGbe16M = generatedDescriptorStruct(ROMSIZE_16MB, WITHOUTGBE); /* Only for the compatibility checks */ struct DESCRIPTORREGIONRECORD dummyDescriptorStruct; @@ -122,6 +124,9 @@ int main(int argc, char *argv[]) return 1; } + if (notCreatedDescriptorGbeFile(descriptorStruct16M, gbeStruct8k, "ich9fdgbe_16m.bin")) { + return 1; + } /* * ------------------------------------------------------------------ * Generate the 4KiB files (descriptors without GbE), ready to be used in a libreboot image @@ -137,5 +142,8 @@ int main(int argc, char *argv[]) return 1; } + if (notCreated4kDescriptorFile(descriptorStructNoGbe16M, "ich9fdnogbe_16m.bin")) { + return 1; + } return 0; }