diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-12 07:24:30 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-14 00:51:18 +0000 |
commit | 1151088c025af66ec51ca3b4d3d162a4210c6d4f (patch) | |
tree | 90ba97a5805731dd777ea0b8d776fa5fb718fddc /src/mainboard/google/skyrim/variants | |
parent | a006259e6f6b09b388dd7fa0669c84bdeaea951b (diff) |
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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70682
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/skyrim/variants')
-rw-r--r-- | src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl | 26 |
1 files changed, 13 insertions, 13 deletions
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) } } |