summaryrefslogtreecommitdiff
path: root/src/mainboard/purism
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 08:39:35 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:04:02 +0000
commitdfbb634ae16065811894d67ff802c1e838ce0749 (patch)
tree0ad779089e19231a8e1c279ab40b3c9f195a680f /src/mainboard/purism
parentca4b587f95c0f1ed64e187511781abdfd4c7ebfb (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/purism')
-rw-r--r--src/mainboard/purism/librem_bdw/acpi/ec.asl2
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_14/include/variant/acpi/gpe.asl2
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl2
-rw-r--r--src/mainboard/purism/librem_skl/acpi/ec.asl2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/purism/librem_bdw/acpi/ec.asl b/src/mainboard/purism/librem_bdw/acpi/ec.asl
index ea7b844c8d..b4bd878d34 100644
--- a/src/mainboard/purism/librem_bdw/acpi/ec.asl
+++ b/src/mainboard/purism/librem_bdw/acpi/ec.asl
@@ -2,7 +2,7 @@
#define EC_SCI_GPI 10
#define PPCM_TURBO Zero
-#define PPCM_NOTURBO One
+#define PPCM_NOTURBO 1
#define CRIT_TEMP 105
#include <ec/purism/librem/acpi/ec.asl>
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_14/include/variant/acpi/gpe.asl b/src/mainboard/purism/librem_cnl/variants/librem_14/include/variant/acpi/gpe.asl
index 8045aaf402..94c0e40388 100644
--- a/src/mainboard/purism/librem_cnl/variants/librem_14/include/variant/acpi/gpe.asl
+++ b/src/mainboard/purism/librem_cnl/variants/librem_14/include/variant/acpi/gpe.asl
@@ -4,7 +4,7 @@
Method (_L49, 0, Serialized) {
Printf ("GPE _L49: %o", ToHexString(\_SB.PCI0.LPCB.EC0.WFNO))
If (\_SB.PCI0.LPCB.EC0.ECOK) {
- If (\_SB.PCI0.LPCB.EC0.WFNO == One) {
+ If (\_SB.PCI0.LPCB.EC0.WFNO == 1) {
Notify(\_SB.LID0, 0x80)
}
}
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl b/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl
index 4f4374e3b5..ea7be7dbe6 100644
--- a/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl
+++ b/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl
@@ -6,7 +6,7 @@ Scope (\_SB.PCI0.LPCB)
{
Name (_HID, "ACPI0003")
Name (_PCL, Package () { LPCB })
- Name (ACFG, One)
+ Name (ACFG, 1)
Method (_PSR, 0, NotSerialized)
{
diff --git a/src/mainboard/purism/librem_skl/acpi/ec.asl b/src/mainboard/purism/librem_skl/acpi/ec.asl
index deee5fe308..54d225edf2 100644
--- a/src/mainboard/purism/librem_skl/acpi/ec.asl
+++ b/src/mainboard/purism/librem_skl/acpi/ec.asl
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#define EC_SCI_GPI 0x50
-#define PPCM_TURBO One
+#define PPCM_TURBO 1
#define PPCM_NOTURBO 0x02
#define CRIT_TEMP 100