[coreboot-gerrit] New patch to review for coreboot: 20dcfd6 autoport: Fix SPD map guessing function.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Fri May 29 22:51:35 CEST 2015


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10374

-gerrit

commit 20dcfd60fa05fb1699cfa71bbfca0695d722dc1a
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Fri May 29 22:09:06 2015 +0200

    autoport: Fix SPD map guessing function.
    
    It was reversed between Lenovo and non-Lenovo cases.
    
    Change-Id: I52c3b928abda2851e97ec0b40b7da5c5191217f5
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 util/autoport/main.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/autoport/main.go b/util/autoport/main.go
index fb16a45..c25e565 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -678,9 +678,9 @@ func GuessSPDMap(ctx Context) []uint8 {
 	dmi := ctx.InfoSource.GetDMI()
 
 	if dmi.Vendor == "LENOVO" {
-		return []uint8{0x50, 0x51, 0x52, 0x53}
+		return []uint8{0x50, 0x52, 0x51, 0x53}
 	}
-	return []uint8{0x50, 0x52, 0x51, 0x53}
+	return []uint8{0x50, 0x51, 0x52, 0x53}
 }
 
 



More information about the coreboot-gerrit mailing list