Browse Source

decode-dimms: display MAC from DDR3 SPD

JEDEC Standard No. 21-C, Annex K, Release 6

Byte 41 is specified, the lower part containing
the MAC value, identical as DDR4.
tags/v4.2
Francois Cartegnie 6 years ago
committed by Jean Delvare
parent
commit
5df0e20136
  1. 6
      eeprom/decode-dimms

6
eeprom/decode-dimms

@ -1735,6 +1735,12 @@ sub decode_ddr3_sdram($)
($bytes->[32] & 128) ? "Yes" : "No");
printl("SDRAM Device Type", ddr3_device_type($bytes->[33]));
my @mac = ("Untested",
"700 K", "600 K", "500 K", "400 K", "300 K", "200 K",
undef, "Unlimited");
my $mac = $bytes->[41] & 0x0f;
printl_cond(defined $mac[$mac], "Maximum Activate Count (MAC)", $mac[$mac]);
# Following bytes are type-specific, so don't continue if type
# isn't known.
return if $bytes->[3] == 0 || $bytes->[3] > $#module_types;

Loading…
Cancel
Save