summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk9
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-30 01:29:45 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-31 08:51:02 +0000
commit5e5c14b36dd9688349afc33a03426ea6702412cc (patch)
tree19acfe400d598ca558d5111fc4f050452c93365d /src/mainboard/roda/rk9
parent3a8f0875c0a64be8586780a1d9f6e304b14c7456 (diff)
mb/roda/rk9/acpi: Replace Add(a,b,c) with ASL 2.0 syntax
Replace `Add (a, b, c)` with `c = a + b`. Change-Id: If2bb935570b1cb2b7a5e4168d594d735f343369b Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60487 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/roda/rk9')
-rw-r--r--src/mainboard/roda/rk9/acpi/thermal.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/roda/rk9/acpi/thermal.asl b/src/mainboard/roda/rk9/acpi/thermal.asl
index 5c29846891..709c9128cd 100644
--- a/src/mainboard/roda/rk9/acpi/thermal.asl
+++ b/src/mainboard/roda/rk9/acpi/thermal.asl
@@ -6,7 +6,7 @@ Scope (\_TZ)
{
/* degree Celsius to deci-Kelvin (ACPI temperature unit) */
Method(C2dK, 1) {
- Add (2732, Multiply (Arg0, 10), Local0)
+ Local0 = 2732 + Multiply (Arg0, 10)
Return (Local0)
}