From 40bc82fcdebea90f458841ed5cafd38958836be6 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 14:09:48 +0100 Subject: sb/intel/i82371eb/acpi: Replace Decrement() with ASL 2.0 syntax Replace `Decrement (a)` with `a--`. Change-Id: Iae59333a910cc913bb28ed5436c124b2ab282435 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60587 Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/southbridge/intel/i82371eb/acpi/intx.asl | 2 +- src/southbridge/intel/i82371eb/acpi/pirq.asl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/southbridge/intel/i82371eb/acpi/intx.asl b/src/southbridge/intel/i82371eb/acpi/intx.asl index c55ff33d8f..f4fa928cc5 100644 --- a/src/southbridge/intel/i82371eb/acpi/intx.asl +++ b/src/southbridge/intel/i82371eb/acpi/intx.asl @@ -40,7 +40,7 @@ Device(intx) { \ /* Use lowest available IRQ */ \ FindSetRightBit(IRQM, Local0) \ if (Local0) { \ - Decrement(Local0) \ + Local0-- \ } \ Store(Local0, pinx) \ } \ diff --git a/src/southbridge/intel/i82371eb/acpi/pirq.asl b/src/southbridge/intel/i82371eb/acpi/pirq.asl index 176906ade4..eeab305299 100644 --- a/src/southbridge/intel/i82371eb/acpi/pirq.asl +++ b/src/southbridge/intel/i82371eb/acpi/pirq.asl @@ -50,7 +50,7 @@ Device(intx) { \ /* Use lowest available IRQ */ \ FindSetRightBit(IRQM, Local0) \ if (Local0) { \ - Decrement(Local0) \ + Local0-- \ } \ Store(Local0, pinx) \ } \ -- cgit v1.2.3