Browse Source

DDR3: Add support for Load Reduced DIMM (LRDIMM).

git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6147 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v4.0
Jean Delvare 12 years ago
parent
commit
9b3b1fe843
  1. 1
      CHANGES
  2. 19
      eeprom/decode-dimms

1
CHANGES

@ -34,6 +34,7 @@ SVN HEAD
Print width of all known DDR3 module types Print width of all known DDR3 module types
Print physical characteristics for all DDR3 module types Print physical characteristics for all DDR3 module types
Don't print raw SSTE32882 register values Don't print raw SSTE32882 register values
Add support for Load Reduced DIMM (LRDIMM) DDR3 modules
i2cdetect: Do a best effort detection if functionality is missing i2cdetect: Do a best effort detection if functionality is missing
Clarify the SMBus commands used for probing by default Clarify the SMBus commands used for probing by default
i2c-dev.h: Minimize differences with kernel flavor i2c-dev.h: Minimize differences with kernel flavor

19
eeprom/decode-dimms

@ -5,7 +5,7 @@
# Copyright 1998, 1999 Philip Edelbrock <phil@netroedge.com> # Copyright 1998, 1999 Philip Edelbrock <phil@netroedge.com>
# modified by Christian Zuckschwerdt <zany@triq.net> # modified by Christian Zuckschwerdt <zany@triq.net>
# modified by Burkart Lingner <burkart@bollchen.de> # modified by Burkart Lingner <burkart@bollchen.de>
# Copyright (C) 2005-2012 Jean Delvare <khali@linux-fr.org>
# Copyright (C) 2005-2013 Jean Delvare <khali@linux-fr.org>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -1595,6 +1595,23 @@ sub decode_ddr3_sdram($)
"Register revision", ddr3_revision_number($bytes->[67])); "Register revision", ddr3_revision_number($bytes->[67]));
printl("Heat spreader", $bytes->[64] & 0x80 ? "Yes" : "No"); printl("Heat spreader", $bytes->[64] & 0x80 ? "Yes" : "No");
} }
if ($module_types[$bytes->[3]]->{family} == DDR3_LOAD_REDUCED) {
prints("Load Reduced DIMM");
my @rows = ("Undefined", 1, 2, "Reserved");
printl("# DRAM Rows", $rows[($bytes->[63] >> 2) & 3]);
my @mirroring = ("None", "Odd ranks", "Reserved", "Reserved");
printl("Mirroring", $mirroring[$bytes->[63] & 3]);
printl("Rank Numbering", $bytes->[63] & 0x20 ? "Even only" : "Contiguous");
printl("Buffer Orientation", $bytes->[63] & 0x10 ? "Horizontal" : "Vertical");
printl("Register manufacturer",
manufacturer_ddr3($bytes->[65], $bytes->[66]));
printl_cond($bytes->[64] != 0xff,
"Buffer Revision", ddr3_revision_number($bytes->[64]));
printl("Heat spreader", $bytes->[63] & 0x80 ? "Yes" : "No");
}
} }
# Parameter: EEPROM bytes 0-127 (using 4-5) # Parameter: EEPROM bytes 0-127 (using 4-5)

Loading…
Cancel
Save