summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/src/gbe/gbe.h
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 21:02:55 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-25 21:02:55 (EST)
commitf78d26669bb8d88853a5df332bf10ff9d3734ca4 (patch)
tree27ffaabc1522234fb112f6dc5a916c46394c86da /resources/utilities/ich9deblob/src/gbe/gbe.h
parente9221449fe1ed47fa574481a16d80609e6b9cd3a (diff)
downloadlibreboot-f78d26669bb8d88853a5df332bf10ff9d3734ca4.zip
libreboot-f78d26669bb8d88853a5df332bf10ff9d3734ca4.tar.gz
libreboot-f78d26669bb8d88853a5df332bf10ff9d3734ca4.tar.bz2
ich9deblob: gbe struct: more info about word 08-09 (pba low/high)
Diffstat (limited to 'resources/utilities/ich9deblob/src/gbe/gbe.h')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h
index 00c8094..ac2a504 100644
--- a/resources/utilities/ich9deblob/src/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/src/gbe/gbe.h
@@ -79,8 +79,25 @@ struct GBEREGIONRECORD_4K {
unsigned short reservedWord04h; /* Reserved word 04: set it to 0xFFFF (according to datasheet) */
unsigned short reservedWord05h; /* Reserved word 05: 83 10 (little endian) in my deblobbed_descriptor.bin. Set this to 0x1083 (in C, assuming little endian byte order). "cannot be changed" according to datasheet */
unsigned short reservedWords06h07h[2]; /* Reserved words 06-07: set both to 0xFFFF (according to datasheet) */
- unsigned short pbaLow;
- unsigned short pbaHigh;
+
+ /*
+ * Word 08 and 09 (pba low and pba high):
+ *
+ * Both of these should be set to 0xFFFF by default, according to the datasheet.
+ * "nine digit printed board assembly (PBA) number" for intel cards to be stored
+ * in a 4 byte (read: 2 word) field.
+ *
+ * Example: if pba number is 123456-003, then word 08 should be 1234h and word 09 becomes 5603.
+ * Note: 1234 and 5603 above are big endian. In the image it would actually be 34 12 and 0356
+ *
+ * Example: in mine it was (in the image): 08 10 FF FF. That becomes 1008h and FFFFh, or
+ * basically: 1008FF-0FF. The same was observed in another.
+ *
+ * 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 pciInitializationControlWord;
unsigned short subsystemId;
unsigned short subsystemVendorId;