aboutsummaryrefslogtreecommitdiff
path: root/src/superio/acpi/pnp_kbc.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-12 02:34:43 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-14 00:46:41 +0000
commitfacf7d077cef1c324fe9b239c63bffd612e60732 (patch)
treece531c01ba903b8b9806b0302a6094919da58bc2 /src/superio/acpi/pnp_kbc.asl
parent18af706d501730de4b1471886f7b47b95a522449 (diff)
superio/acpi: Replace Store(a,b) with ASL 2.0 syntax
Replace `Store (a, b)` with `b = a`. Change-Id: Ibbecba97dd1628889539c2962dd31964c252c8bb Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70631 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/superio/acpi/pnp_kbc.asl')
-rw-r--r--src/superio/acpi/pnp_kbc.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/acpi/pnp_kbc.asl b/src/superio/acpi/pnp_kbc.asl
index ba03e19f6a..4fd805f8fa 100644
--- a/src/superio/acpi/pnp_kbc.asl
+++ b/src/superio/acpi/pnp_kbc.asl
@@ -46,7 +46,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
Method (_DIS)
{
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
- Store (Zero, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = Zero
EXIT_CONFIG_MODE ()
#if defined(SUPERIO_KBC_PS2LDN)
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
@@ -95,7 +95,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
PNP_WRITE_IO(PNP_IO0, Arg0, IO0)
PNP_WRITE_IO(PNP_IO1, Arg0, IO1)
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR0)
- Store (One, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = One
EXIT_CONFIG_MODE ()
#if defined(SUPERIO_KBC_PS2LDN)
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
@@ -155,7 +155,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) {
Method (_STA)
{
- Store (^^SUPERIO_ID(KBD, SUPERIO_KBC_LDN)._STA (), Local0)
+ Local0 = ^^SUPERIO_ID(KBD, SUPERIO_KBC_LDN)._STA ()
If (Local0 == DEVICE_PRESENT_ACTIVE) {
PNP_GENERIC_STA(SUPERIO_KBC_PS2LDN)
} Else {
@@ -166,7 +166,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) {
Method (_DIS)
{
ENTER_CONFIG_MODE (SUPERIO_KBC_PS2LDN)
- Store (Zero, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = Zero
EXIT_CONFIG_MODE ()
}
@@ -200,7 +200,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) {
})
ENTER_CONFIG_MODE (SUPERIO_KBC_PS2LDN)
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR1)
- Store (One, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = One
EXIT_CONFIG_MODE ()
}
}