diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 08:39:35 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:04:02 +0000 |
commit | dfbb634ae16065811894d67ff802c1e838ce0749 (patch) | |
tree | 0ad779089e19231a8e1c279ab40b3c9f195a680f /src/mainboard/google/cyan/variants/terra/include | |
parent | ca4b587f95c0f1ed64e187511781abdfd4c7ebfb (diff) |
mainboard/acpi: Replace constant "One" with actual number
Change-Id: Id1078b14a805eea53d2a7c5a8183a5413f26e115
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71521
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/cyan/variants/terra/include')
-rw-r--r-- | src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl | 2 | ||||
-rw-r--r-- | src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl index 19f26097cd..3a4b44e721 100644 --- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl +++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl @@ -156,7 +156,7 @@ Device (DPTF) Method (_STA) { - If (\DPTE == One) { + If (\DPTE == 1) { Return (0xF) } Else { Return (0x0) diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl index 7f1131b6bf..94c80da10d 100644 --- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl @@ -52,7 +52,7 @@ Device (TSR0) Method (_STA) { - If (\DPTE == One) { + If (\DPTE == 1) { Return (0xF) } Else { Return (0x0) @@ -120,7 +120,7 @@ Device (TSR1) Method (_STA) { - If (\DPTE == One) { + If (\DPTE == 1) { Return (0xF) } Else { Return (0x0) @@ -188,7 +188,7 @@ Device (TSR2) Method (_STA) { - If (\DPTE == One) { + If (\DPTE == 1) { Return (0xF) } Else { Return (0x0) |