From 1151088c025af66ec51ca3b4d3d162a4210c6d4f Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 12 Dec 2022 07:24:30 +0100 Subject: mb/google/skyrim/acpi: Replace Store(a,b) with ASL 2.0 syntax Replace `Store (a, b)` with `b = a`. Change-Id: Ib75ccc10c8086086f5db4ced1163b74c9835364b Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70682 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Eric Lai --- .../winterhold/include/variant/acpi/dtts.asl | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl b/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl index 733af28943..50a8104376 100644 --- a/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl +++ b/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl @@ -21,7 +21,7 @@ Scope (\_SB) If (\_SB.PRTN == 7) { \_SB.DDEF() - Store (0, \_SB.PRTN) + \_SB.PRTN = 0 Return (Zero) } @@ -34,13 +34,13 @@ Scope (\_SB) // 50C=323K, 323-200(offset)=123(0x7B) If (\_SB.PCI0.LPCB.EC0.TIN4 >= 123) { \_SB.DTTB() - Store (1, \_SB.PRTN) + \_SB.PRTN = 1 Return (Zero) } // AMB sensor release point If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 118)) { \_SB.DDEF() - Store (0, \_SB.PRTN) + \_SB.PRTN = 0 Return (Zero) } // Keep tht previous thermal table @@ -48,11 +48,11 @@ Scope (\_SB) } Else { If (\_SB.PRTN == 3 || \_SB.PRTN == 5) { \_SB.DTTB() - Store (1, \_SB.PRTN) + \_SB.PRTN = 1 Return (Zero) } Else { \_SB.DDEF() - Store (0, \_SB.PRTN) + \_SB.PRTN = 0 Return (Zero) } } @@ -61,12 +61,12 @@ Scope (\_SB) If (\_SB.PRTN == 2 || \_SB.PRTN == 3) { If (\_SB.PCI0.LPCB.EC0.TIN4 >= 128) { \_SB.DTTD() - Store (3, \_SB.PRTN) + \_SB.PRTN = 3 Return (Zero) } If(\_SB.PCI0.LPCB.EC0.TIN4 <= 123) { \_SB.DTTC() - Store (2, \_SB.PRTN) + \_SB.PRTN = 2 Return (Zero) } // Keep tht previous thermal table @@ -74,11 +74,11 @@ Scope (\_SB) } Else { If (\_SB.PRTN == 1 || \_SB.PRTN == 5) { \_SB.DTTD() - Store (3, \_SB.PRTN) + \_SB.PRTN = 3 Return (Zero) } Else { \_SB.DTTC() - Store (2, \_SB.PRTN) + \_SB.PRTN = 2 Return (Zero) } } @@ -89,13 +89,13 @@ Scope (\_SB) // AMB sensor trigger point If (\_SB.PCI0.LPCB.EC0.TIN4 >= 118) { \_SB.DTTF() - Store (5, \_SB.PRTN) + \_SB.PRTN = 5 Return (Zero) } // AMB sensor release point If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 113)) { \_SB.DTTE() - Store (4, \_SB.PRTN) + \_SB.PRTN = 4 Return (Zero) } // Keep tht previous thermal table @@ -103,11 +103,11 @@ Scope (\_SB) } Else { If (\_SB.PRTN == 1 || \_SB.PRTN == 3) { \_SB.DTTF() - Store (5, \_SB.PRTN) + \_SB.PRTN = 5 Return (Zero) } Else { \_SB.DTTE() - Store (4, \_SB.PRTN) + \_SB.PRTN = 4 Return (Zero) } } -- cgit v1.2.3