diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 14:12:42 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:22:39 +0000 |
commit | c104e4cdd7d2ebf23a9afb9b178e1516a75ce4f8 (patch) | |
tree | ca1da321dd40a3e274f849da773e3bd4e4cd0ce8 | |
parent | 40bc82fcdebea90f458841ed5cafd38958836be6 (diff) |
soc/intel/apollolake/acpi: Replace Decrement() with ASL 2.0 syntax
Replace `Decrement (a)` with `a--`.
Change-Id: I523c6b14c127ec7c0eb41078fb2eb92f42d74bd5
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60588
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r-- | src/soc/intel/apollolake/acpi/northbridge.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/acpi/northbridge.asl b/src/soc/intel/apollolake/acpi/northbridge.asl index ea9d5b4cc3..6791e15670 100644 --- a/src/soc/intel/apollolake/acpi/northbridge.asl +++ b/src/soc/intel/apollolake/acpi/northbridge.asl @@ -95,7 +95,7 @@ Method (_CRS, 0, Serialized) /* Read TOLUD */ And(\_SB.PCI0.MCHC.TLUD, 0xFFF00000, GMAX) - Decrement(GMAX) + GMAX-- GLEN = GMAX - GMIN + 1 /* Patch PM02 range based on Memory Size */ |