summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-06-07 00:17:06 +0200
committerMartin Roth <martinroth@google.com>2017-06-09 16:33:38 +0200
commit87f7588c50225ef3d5c87de99635cc4fb9571f89 (patch)
tree00cb212b343151b60f3e6b00046db13cc0e51fcd /src/device
parent459d2198ebf855596f41a747719baadbde12d730 (diff)
downloadcoreboot-87f7588c50225ef3d5c87de99635cc4fb9571f89.tar.xz
device/dram/ddr2.c: Fix is_registered_ddr2
Type 0x10 is mini RDIMM according to JEDEC DDR2 SPD specifications. Change-Id: I6d35bd74961326ebd9225f044313b107aca24bda Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/20058 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dram/ddr2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/dram/ddr2.c b/src/device/dram/ddr2.c
index 1471ed548b..249399ff14 100644
--- a/src/device/dram/ddr2.c
+++ b/src/device/dram/ddr2.c
@@ -39,7 +39,8 @@
int spd_dimm_is_registered_ddr2(enum spd_dimm_type type)
{
if ((type == SPD_DIMM_TYPE_RDIMM)
- | (type == SPD_DIMM_TYPE_72B_SO_RDIMM))
+ || (type == SPD_DIMM_TYPE_72B_SO_RDIMM)
+ || (type == SPD_DIMM_TYPE_MINI_RDIMM))
return 1;
return 0;