diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 14:09:48 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:22:30 +0000 |
commit | 40bc82fcdebea90f458841ed5cafd38958836be6 (patch) | |
tree | 307c05ed8750d30175ef5c12b3157ca10c0481eb | |
parent | e15e64054c059f58569b4aa9ce132aee8c8a2e48 (diff) |
sb/intel/i82371eb/acpi: Replace Decrement() with ASL 2.0 syntax
Replace `Decrement (a)` with `a--`.
Change-Id: Iae59333a910cc913bb28ed5436c124b2ab282435
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60587
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/southbridge/intel/i82371eb/acpi/intx.asl | 2 | ||||
-rw-r--r-- | 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) \ } \ |