From 42efd7f593c9d270ff330d1282d9c569d1ec709a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 09:38:45 +0100 Subject: {superio,ec}/acpi: Replace constant "Zero" with actual number Change-Id: I449ec5b0bbf3f24d51688efef151d3018d2848b2 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71524 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/ec/purism/librem/acpi/battery.asl | 2 +- src/ec/purism/librem/acpi/ec.asl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ec/purism/librem') diff --git a/src/ec/purism/librem/acpi/battery.asl b/src/ec/purism/librem/acpi/battery.asl index 94c6462264..59eb0e9d69 100644 --- a/src/ec/purism/librem/acpi/battery.asl +++ b/src/ec/purism/librem/acpi/battery.asl @@ -51,7 +51,7 @@ Device (BAT) 0xFFFFFFFF, /* 0x02: Battery Remaining Capacity */ 0xFFFFFFFF, /* 0x03: Battery Present Voltage */ }) - Name (BSTP, Zero) + Name (BSTP, 0) /* Battery Capacity warning at 15% */ Name (DWRN, 15) diff --git a/src/ec/purism/librem/acpi/ec.asl b/src/ec/purism/librem/acpi/ec.asl index 828b44d255..622af70d17 100644 --- a/src/ec/purism/librem/acpi/ec.asl +++ b/src/ec/purism/librem/acpi/ec.asl @@ -36,7 +36,7 @@ Device (EC) IO (Decode16, 0x66, 0x66, 0, 1) }) - OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF) + OperationRegion (ERAM, EmbeddedControl, 0, 0xFF) Field (ERAM, ByteAcc, Lock, Preserve) { Offset (0x13), -- cgit v1.2.3