summaryrefslogtreecommitdiff
path: root/src/ec/quanta/ene_kb3940q/acpi
diff options
context:
space:
mode:
authorChristian Walter <christian.walter@9elements.com>2019-12-18 15:07:59 +0100
committerNico Huber <nico.h@gmx.de>2020-03-23 16:54:58 +0000
commitbe3979c873d23cb0543e635bba59bd85ab67fed0 (patch)
treec8a1064696607573eebd0b03c411a8aa090f015c /src/ec/quanta/ene_kb3940q/acpi
parent09eb8d0c9b3b9e7b765520114d148a19926ff886 (diff)
acpi: Change Processor ACPI Name (Intel only)
The ACPI Spec 2.0 states, that Processor declarations should be made within the ACPI namespace \_SB and not \_PR anymore. \_PR is deprecated and is removed here for Intel CPUs only. Tested on: * X11SSH (Kabylake) * CFL Platform * Asus P8Z77-V LX2 and Windows 10 FWTS does not return FAIL anymore on ACPI tests Tested-by: Angel Pons <th3fanbus@gmail.com> Change-Id: Ib101ed718f90f9056d2ecbc31b13b749ed1fc438 Signed-off-by: Christian Walter <christian.walter@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37814 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/ec/quanta/ene_kb3940q/acpi')
-rw-r--r--src/ec/quanta/ene_kb3940q/acpi/ec.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ec/quanta/ene_kb3940q/acpi/ec.asl b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
index 0f66413e68..9b792db704 100644
--- a/src/ec/quanta/ene_kb3940q/acpi/ec.asl
+++ b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
@@ -18,7 +18,7 @@
* re-evaluate their _PPC and _CST tables.
*/
-External (\_PR.CP00._PPC, IntObj)
+External (\_SB.CP00._PPC, IntObj)
Device (EC0)
{
@@ -146,12 +146,12 @@ Device (EC0)
And(Local0, Ones, Local0)
// Find and program number of P-States
- Store (SizeOf (\_PR.CP00._PSS), MPST)
+ Store (SizeOf (\_SB.CP00._PSS), MPST)
Store ("Programming number of P-states: ", Debug)
Store (MPST, Debug)
// Find and program the current P-State
- Store(\_PR.CP00._PPC, NPST)
+ Store(\_SB.CP00._PPC, NPST)
Store ("Programming Current P-state: ", Debug)
Store (NPST, Debug)
}
@@ -190,7 +190,7 @@ Device (EC0)
{
Store ("Pstate Event 0x0E", Debug)
- Store(\_PR.CP00._PPC, Local0)
+ Store(\_SB.CP00._PPC, Local0)
Subtract(PPCM, 0x01, Local1)
If(LLess(Local0, Local1)) {
@@ -205,7 +205,7 @@ Device (EC0)
Method (_Q0F)
{
Store ("Pstate Event 0x0F", Debug)
- Store(\_PR.CP00._PPC, Local0)
+ Store(\_SB.CP00._PPC, Local0)
If(Local0) {
Decrement(Local0)