soc/amd/stoneyridge: Update ACPI external processor name

update external processor name to match declaration in SSDT.

in SSDT:
Processor (\_PR.P000, 0x00, 0x00000410, 0x06) {}
Processor (\_PR.P001, 0x01, 0x00000000, 0x00) {}

in DSDT:
External (_PR_.CP00, UnknownObj)
External (_PR_.CP01, UnknownObj)

After fix this, ACPI _PSL (Passive List) now can return correct list
of processor objects for thermal passive cooling.

BUG=b:111478152
BRANCH=master
TEST=emerge-grunt coreboot
Change-Id: I78c838608c78eb7b5e3f8d5c67589e082c756201
Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/27495
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kevin Chiu 2018-07-16 12:35:34 +08:00 committed by Martin Roth
parent 80961af4b6
commit f17a0df112
1 changed files with 11 additions and 11 deletions

View File

@ -22,14 +22,14 @@ Method (PNOT)
* Processor Object
*/
/* These devices are created at runtime */
External (\_PR.CP00, DeviceObj)
External (\_PR.CP01, DeviceObj)
External (\_PR.CP02, DeviceObj)
External (\_PR.CP03, DeviceObj)
External (\_PR.CP04, DeviceObj)
External (\_PR.CP05, DeviceObj)
External (\_PR.CP06, DeviceObj)
External (\_PR.CP07, DeviceObj)
External (\_PR.P000, DeviceObj)
External (\_PR.P001, DeviceObj)
External (\_PR.P002, DeviceObj)
External (\_PR.P003, DeviceObj)
External (\_PR.P004, DeviceObj)
External (\_PR.P005, DeviceObj)
External (\_PR.P006, DeviceObj)
External (\_PR.P007, DeviceObj)
/* Return a package containing enabled processor entries */
Method (PPKG)
@ -37,13 +37,13 @@ Method (PPKG)
If (LGreaterEqual (\PCNT, 2)) {
Return (Package ()
{
\_PR.CP00,
\_PR.CP01
\_PR.P000,
\_PR.P001
})
} Else {
Return (Package ()
{
\_PR.CP00
\_PR.P000
})
}
}