diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 08:17:06 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:03:34 +0000 |
commit | ca4b587f95c0f1ed64e187511781abdfd4c7ebfb (patch) | |
tree | bc5c5a324c65b107fd6d992167168b0383a63503 /src/ec/smsc/mec1308/acpi/ec.asl | |
parent | b4767ce169b202af2a9091275e30881172810fc6 (diff) |
{superio,ec}/acpi: Replace constant "One" with actual number
Change-Id: I5c77b6d1e1dc1134f62dcb3e93df01dc9c2f386c
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71520
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/smsc/mec1308/acpi/ec.asl')
-rw-r--r-- | src/ec/smsc/mec1308/acpi/ec.asl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ec/smsc/mec1308/acpi/ec.asl b/src/ec/smsc/mec1308/acpi/ec.asl index 214e89b4c0..4e8e1cd55f 100644 --- a/src/ec/smsc/mec1308/acpi/ec.asl +++ b/src/ec/smsc/mec1308/acpi/ec.asl @@ -64,7 +64,7 @@ Device (EC0) \LIDS = LIDS // Enable OS control of fan speed - FCOS = One + FCOS = 1 // Force a read of CPU temperature Local0 = CPUT @@ -76,14 +76,14 @@ Device (EC0) { Method (_STA) { If (\FLVL <= 0) { - Return (One) + Return (1) } Else { Return (Zero) } } Method (_ON) { If (FCOS) { - FSL0 = One + FSL0 = 1 \FLVL = 0 Notify (\_TZ.THRM, 0x81) } @@ -101,14 +101,14 @@ Device (EC0) { Method (_STA) { If (\FLVL <= 1) { - Return (One) + Return (1) } Else { Return (Zero) } } Method (_ON) { If (FCOS) { - FSL1 = One + FSL1 = 1 \FLVL = 1 Notify (\_TZ.THRM, 0x81) } @@ -126,14 +126,14 @@ Device (EC0) { Method (_STA) { If (\FLVL <= 2) { - Return (One) + Return (1) } Else { Return (Zero) } } Method (_ON) { If (FCOS) { - FSL2 = One + FSL2 = 1 \FLVL = 2 Notify (\_TZ.THRM, 0x81) } @@ -151,14 +151,14 @@ Device (EC0) { Method (_STA) { If (\FLVL <= 3) { - Return (One) + Return (1) } Else { Return (Zero) } } Method (_ON) { If (FCOS) { - FSL3 = One + FSL3 = 1 \FLVL = 3 Notify (\_TZ.THRM, 0x81) } @@ -176,14 +176,14 @@ Device (EC0) { Method (_STA) { If (\FLVL <= 4) { - Return (One) + Return (1) } Else { Return (Zero) } } Method (_ON) { If (FCOS) { - FSL4 = One + FSL4 = 1 \FLVL = 4 Notify (\_TZ.THRM, 0x81) } @@ -235,7 +235,7 @@ Device (EC0) // AC Power Connected Method (_Q51, 0, NotSerialized) { - \PWRS = One + \PWRS = 1 Notify (AC, 0x80) \PNOT () } |