diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:32:47 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:05:56 +0000 |
commit | fa06bcba06c5842faae797629e9f72ec28d511c0 (patch) | |
tree | 8fba8940a2bf47e403ee5009a623960cf344c975 /src/mainboard/google/skyrim/variants | |
parent | 7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (diff) |
mainboard/acpi: Replace constant "Zero" with actual number
Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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 | 32 |
1 files changed, 16 insertions, 16 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 50a8104376..9bac487cd7 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 @@ -22,7 +22,7 @@ Scope (\_SB) { \_SB.DDEF() \_SB.PRTN = 0 - Return (Zero) + Return (0) } If (\_SB.PCI0.LPCB.EC0.STTB == 0) { // Desktop @@ -35,25 +35,25 @@ Scope (\_SB) If (\_SB.PCI0.LPCB.EC0.TIN4 >= 123) { \_SB.DTTB() \_SB.PRTN = 1 - Return (Zero) + Return (0) } // AMB sensor release point If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 118)) { \_SB.DDEF() \_SB.PRTN = 0 - Return (Zero) + Return (0) } // Keep tht previous thermal table - Return (Zero) + Return (0) } Else { If (\_SB.PRTN == 3 || \_SB.PRTN == 5) { \_SB.DTTB() \_SB.PRTN = 1 - Return (Zero) + Return (0) } Else { \_SB.DDEF() \_SB.PRTN = 0 - Return (Zero) + Return (0) } } } Else { // Lid-close @@ -62,24 +62,24 @@ Scope (\_SB) If (\_SB.PCI0.LPCB.EC0.TIN4 >= 128) { \_SB.DTTD() \_SB.PRTN = 3 - Return (Zero) + Return (0) } If(\_SB.PCI0.LPCB.EC0.TIN4 <= 123) { \_SB.DTTC() \_SB.PRTN = 2 - Return (Zero) + Return (0) } // Keep tht previous thermal table - Return (Zero) + Return (0) } Else { If (\_SB.PRTN == 1 || \_SB.PRTN == 5) { \_SB.DTTD() \_SB.PRTN = 3 - Return (Zero) + Return (0) } Else { \_SB.DTTC() \_SB.PRTN = 2 - Return (Zero) + Return (0) } } } @@ -90,25 +90,25 @@ Scope (\_SB) If (\_SB.PCI0.LPCB.EC0.TIN4 >= 118) { \_SB.DTTF() \_SB.PRTN = 5 - Return (Zero) + Return (0) } // AMB sensor release point If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 113)) { \_SB.DTTE() \_SB.PRTN = 4 - Return (Zero) + Return (0) } // Keep tht previous thermal table - Return (Zero) + Return (0) } Else { If (\_SB.PRTN == 1 || \_SB.PRTN == 3) { \_SB.DTTF() \_SB.PRTN = 5 - Return (Zero) + Return (0) } Else { \_SB.DTTE() \_SB.PRTN = 4 - Return (Zero) + Return (0) } } } // Desktop/Laptop End |