[coreboot-gerrit] Change in coreboot[master]: soc/amd/stoneyridge: Add CPU PPKG ASL

Marc Jones (Code Review) gerrit at coreboot.org
Thu Nov 9 21:00:02 CET 2017


Marc Jones has uploaded this change for review. ( https://review.coreboot.org/22399


Change subject: soc/amd/stoneyridge: Add CPU PPKG ASL
......................................................................

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 at gmail.com>
---
M src/soc/amd/stoneyridge/acpi/cpu.asl
1 file changed, 17 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/22399/1

diff --git a/src/soc/amd/stoneyridge/acpi/cpu.asl b/src/soc/amd/stoneyridge/acpi/cpu.asl
index 9da1550..5d29a55 100644
--- a/src/soc/amd/stoneyridge/acpi/cpu.asl
+++ b/src/soc/amd/stoneyridge/acpi/cpu.asl
@@ -30,3 +30,20 @@
 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
+		})
+	}
+}

-- 
To view, visit https://review.coreboot.org/22399
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d84832af06f64c923485926e4e0c73c65a2b0b2
Gerrit-Change-Number: 22399
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171109/a852b1ee/attachment.html>


More information about the coreboot-gerrit mailing list