summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG8
-rw-r--r--dmidecode.c5
2 files changed, 11 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 122d90a..33d3b8f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,11 @@
+2014-10-13 Jean Delvare <jdelvare@suse.de>
+
+ * dmidecode.c: Add support for DDR4 (DMI type 17). Patch from Tomohiro
+ Kimura. The value was taken from preliminary SMBIOS specification
+ version 3.0.0d.
+ This fixes Savannah bug #43370:
+ https://savannah.nongnu.org/bugs/?43370
+
2014-07-11 Jean Delvare <jdelvare@suse.de>
* dmidecode.c: Decode the CPUID of recent AMD processors (DMI type 4).
diff --git a/dmidecode.c b/dmidecode.c
index 83e66e6..a5304a7 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2311,10 +2311,11 @@ static const char *dmi_memory_device_type(u8 code)
"Reserved",
"Reserved",
"DDR3",
- "FBD2", /* 0x19 */
+ "FBD2",
+ "DDR4" /* 0x1A */
};
- if (code >= 0x01 && code <= 0x19)
+ if (code >= 0x01 && code <= 0x1A)
return type[code - 0x01];
return out_of_spec;
}