summaryrefslogtreecommitdiff
path: root/src/superio/smsc/sch5545/acpi/superio.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 09:38:45 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:06:29 +0000
commit42efd7f593c9d270ff330d1282d9c569d1ec709a (patch)
treebccc1e9c9bb2f9aec6c76c55611f0aafdb4f6e9b /src/superio/smsc/sch5545/acpi/superio.asl
parentfa06bcba06c5842faae797629e9f72ec28d511c0 (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/smsc/sch5545/acpi/superio.asl')
-rw-r--r--src/superio/smsc/sch5545/acpi/superio.asl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/superio/smsc/sch5545/acpi/superio.asl b/src/superio/smsc/sch5545/acpi/superio.asl
index 8fb9da2824..c9a5f5a22e 100644
--- a/src/superio/smsc/sch5545/acpi/superio.asl
+++ b/src/superio/smsc/sch5545/acpi/superio.asl
@@ -56,7 +56,7 @@ Device(SIO1) {
Name (IOST, 0x0001) /* IO decoding status */
Name (MSFG, 1) /* Mouse wake config */
Name (KBFG, 1) /* Keyboard wake config */
- Name (PMFG, Zero) /* Wake config */
+ Name (PMFG, 0) /* Wake config */
/* SuperIO configuration ports */
OperationRegion (CREG, SystemIO, SUPERIO_PNP_BASE, 0x02)
@@ -316,7 +316,7 @@ Device(SIO1) {
While (KRDY) {}
KP60 = 0xED
While (KRDY) {}
- KP60 = Zero
+ KP60 = 0
While (KRDY) {}
KP60 = 0xF4
Sleep (1)
@@ -383,17 +383,17 @@ Device(SIO1) {
Name (_UID, SUPERIO_UID(SER, SUPERIO_UARTA_LDN))
Method (_STA, 0, NotSerialized)
{
- Return (DSTA (Zero))
+ Return (DSTA (0))
}
Method (_DIS, 0, NotSerialized)
{
- DCNT (Zero, Zero)
+ DCNT (0, 0)
}
Method (_CRS, 0, NotSerialized)
{
- Return (DCRS (Zero, Zero))
+ Return (DCRS (0, 0))
}
Method (_SRS, 1, NotSerialized)
@@ -402,9 +402,9 @@ Device(SIO1) {
CreateWordField (Arg0, 0x09, IRQM)
ENTER_CONFIG_MODE (SUPERIO_LPC_LDN)
STIO (0x6A, IO11)
- SIRQ (Zero, IRQM)
+ SIRQ (0, IRQM)
EXIT_CONFIG_MODE ()
- DCNT (Zero, 1)
+ DCNT (0, 1)
}
Name (_PRS, ResourceTemplate ()
@@ -481,12 +481,12 @@ Device(SIO1) {
Method (_DIS, 0, NotSerialized)
{
- DCNT (1, Zero)
+ DCNT (1, 0)
}
Method (_CRS, 0, NotSerialized)
{
- Return (DCRS (1, Zero))
+ Return (DCRS (1, 0))
}
Method (_SRS, 1, NotSerialized)