diff --git a/CHANGES b/CHANGES index 8f3f84b..e227455 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,7 @@ SVN HEAD Strip former manufacturer name in side-by-side output mode Remove duplicate "ns" in SDR timings Add section headers for SDR modules + Fix decoding of SDR SPD revision 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 diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index fbd2599..7c900a3 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -606,7 +606,9 @@ sub decode_sdr_sdram($) my $temp; # SPD revision - printl("SPD Revision", $bytes->[62]); + # Starting with SPD revision 1.2, this byte is encoded in BCD + printl("SPD Revision", $bytes->[62] < 0x12 ? $bytes->[62] : + ($bytes->[62] >> 4) . "." . ($bytes->[62] & 0xf)); #size computation