summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 22:10:15 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-25 22:10:15 (EST)
commit0d0ca4a112b5f6ed54d966e43880b0df8b669d6b (patch)
tree39b4427ee7212af51f3e9188938773c2f0d96c58 /resources
parent963c68ee8b8e0669cb91a3c68f5cce04cc222c5d (diff)
downloadlibreboot-0d0ca4a112b5f6ed54d966e43880b0df8b669d6b.zip
libreboot-0d0ca4a112b5f6ed54d966e43880b0df8b669d6b.tar.gz
libreboot-0d0ca4a112b5f6ed54d966e43880b0df8b669d6b.tar.bz2
ich9deblob: gbe struct: info about word 0B (subsystem ID)
Diffstat (limited to 'resources')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h
index 513e5d0..567efc8 100644
--- a/resources/utilities/ich9deblob/src/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/src/gbe/gbe.h
@@ -109,13 +109,22 @@ struct GBEREGIONRECORD_4K {
*
* Setting it to FF FF FF FF should be fine, according to the datasheet.
*/
- unsigned short pbaLow; /* Word 08 */
- unsigned short pbaHigh; /* Word 09 */
+ unsigned short pbaLow; /* Word 08. Set it to 0x1008. */
+ unsigned short pbaHigh; /* Word 09. Set it to 0xFFFF. */
/* Word 0A */
struct PCI_INITIALIZATION_CONTROL_WORD pciInitializationControlWord;
- unsigned short subsystemId;
+ /*
+ * Word 0B; subsystem ID
+ *
+ * If load subsystem ID bit of word 0A (pci init control word) is
+ * set to 1 (read: it is. in my deblobbed_descriptor.bin), store
+ * the subsystem id here. Datasheet says that the default value is
+ * 0000h, but you should set this to 20EEh (little endian: EE 20)
+ */
+ unsigned short subsystemId; /* Set this to 0x20EE */
+
unsigned short subsystemVendorId;
unsigned short deviceId;
unsigned short vendorId;