{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>
diff --git a/src/soc/intel/skylake/acpi/xhci.asl b/src/soc/intel/skylake/acpi/xhci.asl
index 31d2152..812bbed 100644
--- a/src/soc/intel/skylake/acpi/xhci.asl
+++ b/src/soc/intel/skylake/acpi/xhci.asl
@@ -44,7 +44,7 @@
{
Local0 = Arg0
- While (One) {
+ While (1) {
FindSetRightBit (Local0, Local1)
If (Local1 == Zero) {
Break
@@ -225,7 +225,7 @@
REV = 0x02
// VISI: Port visibility to user per port
- CreateField (DerefOf (PCKG[0]), 0x40, One, VISI)
+ CreateField (DerefOf (PCKG[0]), 0x40, 1, VISI)
VISI = Arg0
Return (PCKG)