Changeset 5555
- Timestamp:
- 12/11/08 14:29:03 (4 years ago)
- Files:
-
- 1 modified
-
i2c-tools/trunk/eeprom/decode-dimms (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c-tools/trunk/eeprom/decode-dimms
r5554 r5555 542 542 $l = "Primary SDRAM Component Widths"; 543 543 $temp = $bytes->[13] & 0x7f; 544 if ($temp == 0) { printl $l, "Undefined! \n"; }544 if ($temp == 0) { printl $l, "Undefined!"; } 545 545 else { printl $l, $temp; } 546 546 … … 1379 1379 1380 1380 $l = "Frequency"; 1381 if ($bytes->[126] == 0x66) { $temp = "66MHz \n"; }1382 elsif ($bytes->[126] == 100) { $temp = "100MHz or 133MHz \n"; }1383 elsif ($bytes->[126] == 133) { $temp = "133MHz \n"; }1384 else { $temp = "Undefined! \n"; }1381 if ($bytes->[126] == 0x66) { $temp = "66MHz"; } 1382 elsif ($bytes->[126] == 100) { $temp = "100MHz or 133MHz"; } 1383 elsif ($bytes->[126] == 133) { $temp = "133MHz"; } 1384 else { $temp = "Undefined!"; } 1385 1385 printl $l, $temp; 1386 1386 … … 1683 1683 printl $l, ($chk_valid ? 1684 1684 sprintf("OK (%s)", $chk_calc) : 1685 sprintf("Bad\n(found %s, calculated %s) \n",1685 sprintf("Bad\n(found %s, calculated %s)", 1686 1686 $chk_spd, $chk_calc)); 1687 1687
