diff options
-rw-r--r-- | include/ddr_spd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ddr_spd.h b/include/ddr_spd.h index 95d0eb04b6..6e63d90e5e 100644 --- a/include/ddr_spd.h +++ b/include/ddr_spd.h @@ -499,6 +499,16 @@ struct ddr4_spd_eeprom { uint8_t user[512-384]; /* 384~511 End User Programmable */ }; +struct spd_eeprom { + union { + struct ddr1_spd_eeprom ddr1; + struct ddr2_spd_eeprom ddr2; + struct ddr3_spd_eeprom ddr3; + struct ddr4_spd_eeprom ddr4; + uint8_t data[512]; + }; +}; + /* * Byte 2 Fundamental Memory Types. */ |