commit | 40bc82fcdebea90f458841ed5cafd38958836be6 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Fri Dec 31 14:09:48 2021 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Sat Jan 01 14:22:30 2022 +0000 |
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>
diff --git a/src/southbridge/intel/i82371eb/acpi/intx.asl b/src/southbridge/intel/i82371eb/acpi/intx.asl index c55ff33..f4fa928 100644 --- a/src/southbridge/intel/i82371eb/acpi/intx.asl +++ b/src/southbridge/intel/i82371eb/acpi/intx.asl
@@ -40,7 +40,7 @@ /* 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 176906a..eeab305 100644 --- a/src/southbridge/intel/i82371eb/acpi/pirq.asl +++ b/src/southbridge/intel/i82371eb/acpi/pirq.asl
@@ -50,7 +50,7 @@ /* Use lowest available IRQ */ \ FindSetRightBit(IRQM, Local0) \ if (Local0) { \ - Decrement(Local0) \ + Local0-- \ } \ Store(Local0, pinx) \ } \