diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:38:45 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:06:29 +0000 |
commit | 42efd7f593c9d270ff330d1282d9c569d1ec709a (patch) | |
tree | bccc1e9c9bb2f9aec6c76c55611f0aafdb4f6e9b /src/superio/winbond/w83627hf | |
parent | fa06bcba06c5842faae797629e9f72ec28d511c0 (diff) |
{superio,ec}/acpi: Replace constant "Zero" with actual number
Change-Id: I449ec5b0bbf3f24d51688efef151d3018d2848b2
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71524
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/winbond/w83627hf')
-rw-r--r-- | src/superio/winbond/w83627hf/acpi/superio.asl | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index 3d85af6c3c..0795d541c2 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -179,7 +179,7 @@ Device(SIO) { /* PM: Switch to D0 by setting IPD low */ Method (_PS0) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - IPD = Zero + IPD = 0 EXIT_CONFIG_MODE () } @@ -233,14 +233,14 @@ Device(SIO) { /* Enable power saving mode */ Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - FDPW = Zero + FDPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (0) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -343,25 +343,25 @@ Device(SIO) { Sleep(0x64) If (SIFR) { FD1 = 1 } - ACT1 = Zero + ACT1 = 0 ACT2 = 1 SELE = 1 Sleep(0x64) If (SIFR) { FD2 = 1 } - ACT2 = Zero + ACT2 = 0 ACT3 = 1 SELE = 2 Sleep(0x64) If (SIFR) { FD3 = 1 } - ACT3 = Zero + ACT3 = 0 ACT4 = 1 SELE = 3 Sleep(0x64) If (SIFR) { FD4 = 1 } - ACT4 = Zero - SELE = Zero + ACT4 = 0 + SELE = 0 Return (FDE) } @@ -453,13 +453,13 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - PRPW = Zero + PRPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (1) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -631,14 +631,14 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - UAPW = Zero + UAPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (2) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -757,14 +757,14 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - UBPW = Zero + UBPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (3) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -883,14 +883,14 @@ Device(SIO) { } Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - UBPW = Zero + UBPW = 0 EXIT_CONFIG_MODE () } Method (_DIS) { ENTER_CONFIG_MODE (3) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -994,7 +994,7 @@ Device(SIO) { Method (_DIS) { ENTER_CONFIG_MODE (6) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () } @@ -1085,7 +1085,7 @@ Device(SIO) { Method (_DIS) { ENTER_CONFIG_MODE (5) - ACTR = Zero + ACTR = 0 EXIT_CONFIG_MODE () Notify(PS2M, 1) } @@ -1192,7 +1192,7 @@ Device(SIO) { Method (_DIS) { ENTER_CONFIG_MODE (5) - IRQ1 = Zero + IRQ1 = 0 EXIT_CONFIG_MODE () } @@ -1414,7 +1414,7 @@ Device(SIO) { Method (_PS3) { ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE) - HWPW = Zero + HWPW = 0 EXIT_CONFIG_MODE () } |