summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk9/acpi/thermal.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 10:06:43 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-26 20:55:41 +0000
commit53dd00a6b0d9e0779302db621d777e84ea40cba3 (patch)
tree48e373e0b5dbc321e5e7934e85cbf2da7b853dd2 /src/mainboard/roda/rk9/acpi/thermal.asl
parentf3985488ff94158b9fb08c997a838a49d0766ee4 (diff)
mb/roda/rk9: Convert to ASL 2.0 syntax
Generated build/dsdt.dsl are identical. Change-Id: I3cfa9d3a199a33ac8faddf4dbc1eed0df8703835 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/roda/rk9/acpi/thermal.asl')
-rw-r--r--src/mainboard/roda/rk9/acpi/thermal.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/roda/rk9/acpi/thermal.asl b/src/mainboard/roda/rk9/acpi/thermal.asl
index c9bc4d587a..907edc1adf 100644
--- a/src/mainboard/roda/rk9/acpi/thermal.asl
+++ b/src/mainboard/roda/rk9/acpi/thermal.asl
@@ -43,18 +43,18 @@ Scope (\_TZ)
Method (_TMP, 0, Serialized)
{
If (\_SB.PCI0.LPCB.EC0.ALRC) {
- Store(0, \_SB.PCI0.LPCB.EC0.ALRC)
+ \_SB.PCI0.LPCB.EC0.ALRC = 0
Return(_AC0())
}
If (\_SB.PCI0.LPCB.EC0.ALRL) {
- Store(0, THRO)
- Store(0, \_SB.PCI0.LPCB.EC0.ALRL)
+ THRO = 0
+ \_SB.PCI0.LPCB.EC0.ALRL = 0
}
If (\_SB.PCI0.LPCB.EC0.ALRH) {
- Store(1, THRO)
- Store(0, \_SB.PCI0.LPCB.EC0.ALRH)
+ THRO = 1
+ \_SB.PCI0.LPCB.EC0.ALRH = 0
}
/* vendor BIOS reports 0K if TCPU >= 128 deg C ?!? */