diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2015-05-29 22:09:06 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2015-05-30 13:54:31 +0200 |
commit | db0acf84fe1e8c8048d6616f842a4e6920894e63 (patch) | |
tree | f827c440c0d453b9c79bb03cc0cc48d7447d04a2 /util/autoport | |
parent | 5868ab45885ba756da3ec32b97e5b9e302fad3e8 (diff) |
autoport: Fix SPD map guessing function.
It was reversed between Lenovo and non-Lenovo cases.
Change-Id: I52c3b928abda2851e97ec0b40b7da5c5191217f5
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/10374
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Diffstat (limited to 'util/autoport')
-rw-r--r-- | util/autoport/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |