soc/amd/stoneyridge: Add CPU PPKG ASL
Add PPKG Method for processor passive thermal control list. BUG=b:67999819 Change-Id: I5d84832af06f64c923485926e4e0c73c65a2b0b2 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/22399 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
parent
31c8cdda73
commit
290a59284e
|
@ -30,3 +30,20 @@ External (\_PR.CP04, DeviceObj)
|
|||
External (\_PR.CP05, DeviceObj)
|
||||
External (\_PR.CP06, DeviceObj)
|
||||
External (\_PR.CP07, DeviceObj)
|
||||
|
||||
/* Return a package containing enabled processor entries */
|
||||
Method (PPKG)
|
||||
{
|
||||
If (LGreaterEqual (\PCNT, 2)) {
|
||||
Return (Package ()
|
||||
{
|
||||
\_PR.CP00,
|
||||
\_PR.CP01
|
||||
})
|
||||
} Else {
|
||||
Return (Package ()
|
||||
{
|
||||
\_PR.CP00
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue