summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 14:08:32 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:12:59 +0000
commite7f1f6be867dd043ca05bf24d2b7e0cfa56f80f0 (patch)
tree709e1ef04a734bdcf06120c17438afb75e7dff7f /src
parentda4c4ded58154865d155d969065d73783ff9a92c (diff)
mb/aopen/dxplplusu/acpi: Replace Decrement() with ASL 2.0 syntax
Replace `Decrement (a)` with `a--`. Change-Id: I4320d86ce91e7070dc10fcefff6cbc0956be9788 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60586 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl b/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl
index d258ec9d42..f8c7b2e23a 100644
--- a/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl
+++ b/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl
@@ -49,7 +49,7 @@ Device (MBRS)
CreateDWordField (MSBF, \_SB.MBRS._Y1D._LEN, MEM2)
And (\_SB.PCI0.TOLM, 0xF800, Local1)
ShiftRight (Local1, 0x04, Local1)
- Decrement (Local1)
+ Local1--
If (LGreater (Local1, 0x10))
{
Local1 -= 0x0F