Browse Source

decode-dimms: Print DDR2 equivalent speed of tCK max.

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

1
CHANGES

@ -12,6 +12,7 @@ SVN HEAD
Merge cells by default in side-by-side output
Print extra timing values of DDR SDRAM
Print DDR core timings for all supported CAS values
Print DDR2 equivalent speed of tCK max
i2cdetect: Do a best effort detection if functionality is missing
i2c-dev.h: Minimize differences with kernel flavor
Move SMBus helper functions to include/i2c/smbus.h

8
eeprom/decode-dimms

@ -1186,9 +1186,11 @@ sub decode_ddr2_sdram($)
printl_cond(defined $cycle_time, "Minimum Cycle Time", $cycle_time);
printl_cond(defined $access_time, "Maximum Access Time", $access_time);
printl("Maximum Cycle Time (tCK max)",
tns(ddr2_sdram_ctime($bytes->[43])));
$temp = ddr2_sdram_ctime($bytes->[43]);
printl_cond(($bytes->[43] & 0xf0) && $bytes->[43] != 0xff,
"Maximum Cycle Time (tCK max)",
$temp == 0 ? "" : # Wouldn't be displayed, prevent div by 0
tns($temp)." (DDR2-".int(2000 / $temp).")");
# more timing information
prints("Timing Parameters");

Loading…
Cancel
Save