diff mbox series

[5/7] decode-dimms: Decode manufacturing data for LPDDR3

Message ID 20190903112324.7466e21b@endymion
State Awaiting Upstream
Headers show
Series i2c-tools: Various fixes and improvements to decode-dimms | expand

Commit Message

Jean Delvare Sept. 3, 2019, 9:23 a.m. UTC
I assume the manufacturing data format for LPDDR3 is the same as
regular DDR3.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 eeprom/decode-dimms |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

--- i2c-tools.orig/eeprom/decode-dimms	2019-09-03 10:29:53.609710368 +0200
+++ i2c-tools/eeprom/decode-dimms	2019-09-03 10:33:56.479794382 +0200
@@ -2719,7 +2719,8 @@  for $current (0 .. $#dimm) {
 	$decode_callback{$type}->(\@bytes)
 		if exists $decode_callback{$type};
 
-	if ($type eq "DDR3 SDRAM") {
+	if ($type eq "DDR3 SDRAM" ||
+	    $type eq "LPDDR3 SDRAM") {
 		# Decode DDR3-specific manufacturing data in bytes
 		# 117-149
 		if (@bytes >= 150) {