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/purism/librem_cnl | |
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/purism/librem_cnl')
-rw-r--r-- | src/mainboard/purism/librem_cnl/variants/librem_14/include/variant/acpi/gpe.asl | 2 | ||||
-rw-r--r-- | src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |