summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/cyan
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-30 01:36:58 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-31 08:52:14 +0000
commit4aab4872701ffec30ec440074079d2f33ac45e07 (patch)
tree52ca36ca8c02a08fa28ad8177a1aba13af567101 /src/mainboard/google/cyan
parentfe62d6911e9f437ed9f867d7bc848c3ea227d349 (diff)
downloadcoreboot-4aab4872701ffec30ec440074079d2f33ac45e07.tar.gz
coreboot-4aab4872701ffec30ec440074079d2f33ac45e07.tar.bz2
coreboot-4aab4872701ffec30ec440074079d2f33ac45e07.zip
mb/google/cyan/acpi: Replace Add(a,b,c) with ASL 2.0 syntax
Replace `Add (a, b, c)` with `c = a + b`. Change-Id: I771c855e8885238c7fc3b0a7a6e9c2002274c0f2 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60490 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/google/cyan')
-rw-r--r--src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
index 2cfc2569e4e3..88523450e713 100644
--- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
+++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
@@ -206,7 +206,7 @@ Device (DPTF)
Multiply (Arg0, 10, Local0)
/* Convert to Kelvin */
- Add (Local0, 2732, Local0)
+ Local0 += 2732
Return (Local0)
}