summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-12-10 08:28:53 -0700
committerMartin Roth <martinroth@google.com>2015-12-16 04:49:30 +0100
commit35272fd2379b0409e9e927ed64139993ff1f2e31 (patch)
treeb8cc90461970981d1b1500ddd3c78dd1acc3a714
parent019cdbf79b491a455455975f5add89a7e37200cb (diff)
downloadcoreboot-staging-35272fd2379b0409e9e927ed64139993ff1f2e31.zip
coreboot-staging-35272fd2379b0409e9e927ed64139993ff1f2e31.tar.gz
northbridge/intel ACPI: Remove unused Local method
The remainder of the divide operation was being placed into a Local, but was never being used, causing an IASL warning. Since this field is optional, just remove the Local. Fixes IASL warning: dsdt.aml 640:Divide (Multiply (CTDN, 125), 100, Local0, PL2V) Warning 3144 - Method Local is set but never used ^ (Local0) Change-Id: I0b43ef638b1bc3e1163c45f31f8da57aa0d39e22 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12706 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
-rw-r--r--src/northbridge/intel/fsp_sandybridge/acpi/hostbridge.asl4
-rw-r--r--src/northbridge/intel/nehalem/acpi/hostbridge.asl4
-rw-r--r--src/northbridge/intel/sandybridge/acpi/hostbridge.asl4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/intel/fsp_sandybridge/acpi/hostbridge.asl b/src/northbridge/intel/fsp_sandybridge/acpi/hostbridge.asl
index 6c73f83..90d1b1a 100644
--- a/src/northbridge/intel/fsp_sandybridge/acpi/hostbridge.asl
+++ b/src/northbridge/intel/fsp_sandybridge/acpi/hostbridge.asl
@@ -185,7 +185,7 @@ Device (MCHC)
PPCN ()
/* Set PL2 to 1.25 * PL1 */
- Divide (Multiply (CTDD, 125), 100, Local0, PL2V)
+ Divide (Multiply (CTDD, 125), 100, , PL2V)
/* Set PL1 */
Store (CTDD, PL1V)
@@ -214,7 +214,7 @@ Device (MCHC)
Store (CTDN, PL1V)
/* Set PL2 to 1.25 * PL1 */
- Divide (Multiply (CTDN, 125), 100, Local0, PL2V)
+ Divide (Multiply (CTDN, 125), 100, , PL2V)
/* Set PPC limit and notify OS */
Store (PSSS (TARN), PPCM)
diff --git a/src/northbridge/intel/nehalem/acpi/hostbridge.asl b/src/northbridge/intel/nehalem/acpi/hostbridge.asl
index df8424d..337a9bc 100644
--- a/src/northbridge/intel/nehalem/acpi/hostbridge.asl
+++ b/src/northbridge/intel/nehalem/acpi/hostbridge.asl
@@ -147,7 +147,7 @@ Device (MCHC)
PPCN ()
/* Set PL2 to 1.25 * PL1 */
- Divide (Multiply (CTDD, 125), 100, Local0, PL2V)
+ Divide (Multiply (CTDD, 125), 100, , PL2V)
/* Set PL1 */
Store (CTDD, PL1V)
@@ -176,7 +176,7 @@ Device (MCHC)
Store (CTDN, PL1V)
/* Set PL2 to 1.25 * PL1 */
- Divide (Multiply (CTDN, 125), 100, Local0, PL2V)
+ Divide (Multiply (CTDN, 125), 100, , PL2V)
/* Set PPC limit and notify OS */
Store (PSSS (TARN), PPCM)
diff --git a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
index a45d37a..5988489 100644
--- a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
+++ b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
@@ -185,7 +185,7 @@ Device (MCHC)
PPCN ()
/* Set PL2 to 1.25 * PL1 */
- Divide (Multiply (CTDD, 125), 100, Local0, PL2V)
+ Divide (Multiply (CTDD, 125), 100, , PL2V)
/* Set PL1 */
Store (CTDD, PL1V)
@@ -214,7 +214,7 @@ Device (MCHC)
Store (CTDN, PL1V)
/* Set PL2 to 1.25 * PL1 */
- Divide (Multiply (CTDN, 125), 100, Local0, PL2V)
+ Divide (Multiply (CTDN, 125), 100, , PL2V)
/* Set PPC limit and notify OS */
Store (PSSS (TARN), PPCM)
OpenPOWER on IntegriCloud