aboutsummaryrefslogtreecommitdiff
path: root/src/ec/compal/ene932/acpi/ec.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-06 18:02:47 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:50:30 +0000
commit5b880a1333442f9a44027a872115684397b8e699 (patch)
tree436c198438d808701e07b552ae56505f3eaa6a12 /src/ec/compal/ene932/acpi/ec.asl
parentfafd512842226561a01696b2fd4c70bec0a440e5 (diff)
ec/compal: Convert to ASL 2.0 syntax
Change-Id: I934f9d1664f657597f15daed2d2d0c41cd124d21 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46096 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/ec/compal/ene932/acpi/ec.asl')
-rw-r--r--src/ec/compal/ene932/acpi/ec.asl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ec/compal/ene932/acpi/ec.asl b/src/ec/compal/ene932/acpi/ec.asl
index c4fa3a38d3..f3fb9979fe 100644
--- a/src/ec/compal/ene932/acpi/ec.asl
+++ b/src/ec/compal/ene932/acpi/ec.asl
@@ -252,12 +252,12 @@ Device (EC0)
Method (_REG, 2, NotSerialized)
{
// Initialize AC power state
- Store (ADPT, \PWRS)
+ \PWRS = ADPT
// Force a read of CPU temperature
- Store (CTML, Local0)
+ Local0 = CTML
/* So that we don't get a warning that Local0 is unused. */
- Increment (Local0)
+ Local0++
}
@@ -322,7 +322,7 @@ Device (EC0)
// AC Power Connected
Method (_Q37, 0, NotSerialized)
{
- Store (One, \PWRS)
+ \PWRS = 1
Notify (AC, 0x80)
Notify (BATX, 0x80)
// TODO ADD CPU power profile
@@ -332,7 +332,7 @@ Device (EC0)
// AC Power Removed
Method (_Q38, 0, NotSerialized)
{
- Store (Zero, \PWRS)
+ \PWRS = 0
Notify (AC, 0x80)
Notify (BATX, 0x80)
// TODO ADD CPU power profile
@@ -363,7 +363,7 @@ Device (EC0)
{
IF(WLEX) //if Wlan exist
{
- //TODO Store(WLAT, LANE)
+ //TODO LANE = WLAT
}
}