diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 08:45:56 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:05:15 +0000 |
commit | 7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (patch) | |
tree | e2dbc1e8cedf54fc1449e759deaff4e42c5f1bc6 /src/soc/amd/common | |
parent | dfbb634ae16065811894d67ff802c1e838ce0749 (diff) |
{acpi,arch,soc}/acpi: Replace constant "One" with actual number
Change-Id: I3dfd7dd1de3bd27c35c195bd43c4a5b8c5a2dc53
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71522
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r-- | src/soc/amd/common/acpi/dptc.asl | 2 | ||||
-rw-r--r-- | src/soc/amd/common/acpi/upep.asl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/acpi/dptc.asl b/src/soc/amd/common/acpi/dptc.asl index d4e5c2ee7c..aa70050ff3 100644 --- a/src/soc/amd/common/acpi/dptc.asl +++ b/src/soc/amd/common/acpi/dptc.asl @@ -25,7 +25,7 @@ Scope (\_SB) } /* If _SB.DTAB is not present, then DPTC Tablet Mode is not enabled. */ - If (CondRefOf (\_SB.DTAB) && (\_SB.PCI0.LPCB.EC0.TBMD == One)) + If (CondRefOf (\_SB.DTAB) && (\_SB.PCI0.LPCB.EC0.TBMD == 1)) { \_SB.DTAB() Return (Zero) diff --git a/src/soc/amd/common/acpi/upep.asl b/src/soc/amd/common/acpi/upep.asl index d8ea30f09f..b761b79b03 100644 --- a/src/soc/amd/common/acpi/upep.asl +++ b/src/soc/amd/common/acpi/upep.asl @@ -26,7 +26,7 @@ Scope (\_SB) { Device (PEP) { Name (_HID, "AMDI0005") Name (_CID, EisaId ("PNP0D80")) - Name (_UID, One) + Name (_UID, 1) Method (_STA, 0, NotSerialized) { Return (0x0F) |