commit | 43b5730962d7898db040eb7004aa6fb655188e03 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Sun Dec 11 21:46:42 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Mon Dec 12 21:44:41 2022 +0000 |
tree | 142b8a30c44b02f2047cdd587a52ae158c9940bf | |
parent | 5cbf2be43acee0f2e6e1baffbd2fc2eee0d316ee [diff] [blame] |
soc/intel/acpi: Replace Decrement(a) with ASL 2.0 syntax Replace `Decrement (a)` with `a--`. Change-Id: I5c9290aaa9fc969368d5934e4f48a75d915ca5ff Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70592 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
diff --git a/src/soc/intel/braswell/acpi/dptf/charger.asl b/src/soc/intel/braswell/acpi/dptf/charger.asl index fca9590..6fe8bad 100644 --- a/src/soc/intel/braswell/acpi/dptf/charger.asl +++ b/src/soc/intel/braswell/acpi/dptf/charger.asl
@@ -27,7 +27,7 @@ { /* Convert size of PPSS table to index */ Store (SizeOf (\_SB.CHPS), Local0) - Decrement (Local0) + Local0-- /* Check if charging is disabled (AC removed) */ If (LEqual (\_SB.PCI0.LPCB.EC0.ACEX, Zero)) {