summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/sandybridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-08-03 19:26:45 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-04 21:30:43 +0000
commit5cd8c7c3e630c1ff8e48d414b34125c54f4fc648 (patch)
treeae7106bce53d45aaff7b1c8bcc8f02e8b5130023 /src/northbridge/intel/sandybridge
parentecec9474d808f532822091c5a6069f57abc1c81d (diff)
downloadcoreboot-5cd8c7c3e630c1ff8e48d414b34125c54f4fc648.tar.xz
nb/intel/sandybridge: Update to ASL 2.0 syntax
Tested with BUILD_TIMELESS=1, Lenovo ThinkPad X230 remains identical. Change-Id: Ie3570cd0a75c6b34581b35165c1c6393214ad0bb Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44151 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/northbridge/intel/sandybridge')
-rw-r--r--src/northbridge/intel/sandybridge/acpi/hostbridge.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
index 0f70f8c9d5..977d7a7a8d 100644
--- a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
+++ b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
@@ -151,12 +151,12 @@ Device (MCHC)
If (Acquire (CTCM, 100)) {
Return (0)
}
- If (LEqual (CTCD, CTCC)) {
+ If (CTCD == CTCC) {
Release (CTCM)
Return (0)
}
- Store ("Set TDP Down", Debug)
+ Debug = "Set TDP Down"
/* Set CTC */
CTCS = CTCD
@@ -187,12 +187,12 @@ Device (MCHC)
If (Acquire (CTCM, 100)) {
Return (0)
}
- If (LEqual (CTCN, CTCC)) {
+ If (CTCN == CTCC) {
Release (CTCM)
Return (0)
}
- Store ("Set TDP Nominal", Debug)
+ Debug = "Set TDP Nominal"
/* Set PL1 */
PL1V = CTDN