diff --git a/CHANGES b/CHANGES index 5939e76..5449d1f 100644 --- a/CHANGES +++ b/CHANGES @@ -26,6 +26,7 @@ SVN HEAD Decode more DDR3 module types Fix DDR3 tRAS decoding Fix DDR3 core timings rounding + Round down PC3 numbers to comply with Jedec i2cdetect: Do a best effort detection if functionality is missing Clarify the SMBus commands used for probing by default i2c-dev.h: Minimize differences with kernel flavor diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index 7473b3a..3ac3694 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -1362,6 +1362,8 @@ sub decode_ddr3_sdram($) my $ddrclk = 2 * (1000 / $ctime); my $tbits = 1 << (($bytes->[8] & 7) + 3); my $pcclk = int ($ddrclk * $tbits / 8); + # Round down to comply with Jedec + $pcclk = $pcclk - ($pcclk % 100); $ddrclk = int ($ddrclk); printl("Maximum module speed", "$ddrclk MHz (PC3-${pcclk})");