From 75fad2ec24196a2fd235e4006de68182842d6434 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 9 Dec 2008 14:01:46 +0000 Subject: [PATCH] One more Rambus fix. git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5545 7894878c-1315-0410-8ee3-d5d059ff63e0 --- eeprom/decode-dimms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index addfa49..29dc60d 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -1411,7 +1411,7 @@ for my $i ( 0 .. $#dimm_list ) { my @bytes = readspd(128, $dimm_list[$i]); my $is_rambus = $bytes[0] < 4; # Simple heuristic my ($l, $chk_valid, $chk_spd, $chk_calc); - if ($bytes[2] < 9) { + if ($is_rambus || $bytes[2] < 9) { ($l, $chk_valid, $chk_spd, $chk_calc) = checksum(\@bytes); } else {