From db0acf84fe1e8c8048d6616f842a4e6920894e63 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 29 May 2015 22:09:06 +0200 Subject: autoport: Fix SPD map guessing function. It was reversed between Lenovo and non-Lenovo cases. Change-Id: I52c3b928abda2851e97ec0b40b7da5c5191217f5 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/10374 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- util/autoport/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/autoport') diff --git a/util/autoport/main.go b/util/autoport/main.go index add58a11a4..2abb194b14 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} } func main() { -- cgit v1.2.3