summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/kontron/ktqm77/acpi/platform.asl2
-rw-r--r--src/mainboard/kontron/ktqm77/acpi/thermal.asl4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/kontron/ktqm77/acpi/platform.asl b/src/mainboard/kontron/ktqm77/acpi/platform.asl
index cc45619df3..a0e255c7e8 100644
--- a/src/mainboard/kontron/ktqm77/acpi/platform.asl
+++ b/src/mainboard/kontron/ktqm77/acpi/platform.asl
@@ -7,7 +7,7 @@
Method(_PTS,1)
{
/* Let suspend LED flash slowly in S3 and S4 */
- If (LOr (LEqual (Arg0, 3), LEqual (Arg0, 4)))
+ If ((Arg0 == 3) || (Arg0 == 4))
{
\_SB.PCI0.LPCB.SIO0.SUSL (0x06)
}
diff --git a/src/mainboard/kontron/ktqm77/acpi/thermal.asl b/src/mainboard/kontron/ktqm77/acpi/thermal.asl
index 24004934ee..3465b75ff9 100644
--- a/src/mainboard/kontron/ktqm77/acpi/thermal.asl
+++ b/src/mainboard/kontron/ktqm77/acpi/thermal.asl
@@ -21,10 +21,10 @@ Scope (\_TZ)
// Convert from Degrees C to 1/10 Kelvin for ACPI
Method (CTOK, 1) {
// 10th of Degrees C
- Multiply (Arg0, 10, Local0)
+ Local0 = Arg0 * 10
// Convert to Kelvin
- Add (Local0, 2732, Local0)
+ Local0 += 2732
Return (Local0)
}