summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/device/dram/ddr2.c1
-rw-r--r--src/include/device/dram/ddr2.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/device/dram/ddr2.c b/src/device/dram/ddr2.c
index e06e3423a8..0117b93d06 100644
--- a/src/device/dram/ddr2.c
+++ b/src/device/dram/ddr2.c
@@ -322,6 +322,7 @@ int spd_decode_ddr2(struct dimm_attr_st *dimm, u8 spd[SPD_SIZE_MAX_DDR2])
dimm->dram_type = SPD_MEMORY_TYPE_UNDEFINED;
return SPD_STATUS_CRC_ERROR;
}
+ dimm->checksum = spd[63];
reg8 = spd[62];
if ((reg8 & 0xf0) != 0x10) {
diff --git a/src/include/device/dram/ddr2.h b/src/include/device/dram/ddr2.h
index 288c10298a..7322b122a7 100644
--- a/src/include/device/dram/ddr2.h
+++ b/src/include/device/dram/ddr2.h
@@ -186,6 +186,7 @@ struct dimm_attr_st {
u32 tPLL;
u32 tRR;
+ u8 checksum;
/* Manufacturer ID */
u32 manufacturer_id;
/* ASCII part number - NULL terminated */