summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-04 09:32:40 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-12 14:40:30 +0000
commit90fe567fa9301502e3020fceccea76276862927d (patch)
tree2f28713447e41d5142fe17bab4b254f6873a9cab /src/superio
parentb77668cbdb6f8aac8f1e02e28104a6a5d4b7d15f (diff)
superio/smsc/sch5147/acpi: Convert superio.asl to ASL 2.0 syntax
Change-Id: I509b76dbdbdee8a6287fc7d877c9f6e3c6a9068b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45992 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/smsc/sch5147/acpi/superio.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/smsc/sch5147/acpi/superio.asl b/src/superio/smsc/sch5147/acpi/superio.asl
index a8a24a5fd9..d5040e73b5 100644
--- a/src/superio/smsc/sch5147/acpi/superio.asl
+++ b/src/superio/smsc/sch5147/acpi/superio.asl
@@ -124,7 +124,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
Method (_DIS)
{
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
- Store (Zero, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = 0
EXIT_CONFIG_MODE ()
#if defined(SUPERIO_KBC_PS2LDN)
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
@@ -169,7 +169,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
})
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR0)
- Store (One, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = 1
EXIT_CONFIG_MODE ()
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_LDN), 1)
}