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>
This commit is contained in:
parent
5868ab4588
commit
db0acf84fe
|
@ -678,9 +678,9 @@ func GuessSPDMap(ctx Context) []uint8 {
|
||||||
dmi := ctx.InfoSource.GetDMI()
|
dmi := ctx.InfoSource.GetDMI()
|
||||||
|
|
||||||
if dmi.Vendor == "LENOVO" {
|
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() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue