decode-dimms: Print DDR2 equivalent speed of tCK max
PATCH 1/3 decode-dimms: Print DDR2 equivalent speed of tCK max
Print DDR2 equivalent speed of tCK max.
--- eeprom/decode-dimms | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
eeprom/decode-dimms +5 -3
@@ -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 ? "" : # Can't happen, prevent div by 0 + tns($temp)." (DDR2-".int(2000 / $temp).")"); # more timing information prints("Timing Parameters");
Signature · 1 line
Jean Delvare