From fe62d6911e9f437ed9f867d7bc848c3ea227d349 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 30 Dec 2021 01:35:49 +0100 Subject: mb/google/jecht/acpi: Replace Add(a,b,c) with ASL 2.0 syntax Replace `Add (a, b, c)` with `c = a + b`. Change-Id: Ie7fa132623c7834e3d2f1acda032928579819a84 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60489 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- .../google/jecht/variants/guado/include/variant/acpi/thermal.asl | 2 +- .../google/jecht/variants/jecht/include/variant/acpi/thermal.asl | 2 +- .../google/jecht/variants/rikku/include/variant/acpi/thermal.asl | 2 +- .../google/jecht/variants/tidus/include/variant/acpi/thermal.asl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainboard/google/jecht/variants') diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl index 1d646697dc..e156306bc8 100644 --- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl @@ -27,7 +27,7 @@ Scope (\_TZ) Multiply (Arg0, 10, Local0) // Convert to Kelvin - Add (Local0, 2732, Local0) + Local0 += 2732 Return (Local0) } diff --git a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl index 1d646697dc..e156306bc8 100644 --- a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl @@ -27,7 +27,7 @@ Scope (\_TZ) Multiply (Arg0, 10, Local0) // Convert to Kelvin - Add (Local0, 2732, Local0) + Local0 += 2732 Return (Local0) } diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl index 1d646697dc..e156306bc8 100644 --- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl @@ -27,7 +27,7 @@ Scope (\_TZ) Multiply (Arg0, 10, Local0) // Convert to Kelvin - Add (Local0, 2732, Local0) + Local0 += 2732 Return (Local0) } diff --git a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl index adde850622..050e2d529f 100644 --- a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl @@ -42,7 +42,7 @@ Scope (\_TZ) Multiply (Arg0, 10, Local0) // Convert to Kelvin - Add (Local0, 2732, Local0) + Local0 += 2732 Return (Local0) } -- cgit v1.2.3