summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2018-08-17 15:24:56 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-08-20 09:51:22 +0000
commit15e6469ef9ef76678aae0a5244bda1d9cbb3ee72 (patch)
treef7266b0eef1ef1cffb14dd14148f51d335d9477d /src/include/device
parenteac84ca35c9b8052d198a7ab3593ae8f5bbb1aa8 (diff)
downloadcoreboot-15e6469ef9ef76678aae0a5244bda1d9cbb3ee72.tar.xz
nb/intel/sandybridge: Fill in DIMM serial number
Fill in SMBIOS type 17 DIMM serial number, read from SPD. Fixes FWTS SMBIOS type 17 test. Change-Id: Id6e818bfdf4af0fd34af56dc23df052a3f8c348d Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/28191 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/dram/ddr3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h
index 9a246617d9..563be10c07 100644
--- a/src/include/device/dram/ddr3.h
+++ b/src/include/device/dram/ddr3.h
@@ -174,6 +174,8 @@ typedef struct dimm_attr_st {
u16 manufacturer_id;
/* ASCII part number - NULL terminated */
u8 part_number[17];
+ /* Serial number */
+ u8 serial[SPD_DIMM_SERIAL_LEN];
} dimm_attr;
enum ddr3_xmp_profile {