aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/variants/samus
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:30:03 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-01-25 09:09:43 +0000
commit9c19a4fae8aa9487ee9283839ea4f89f07a790cd (patch)
tree1652122994ac67e8e9dcb69e19c0da5b298b142c /src/mainboard/google/auron/variants/samus
parentf0712795b01f741a1b0ca725a0b3ddc8eee373f2 (diff)
mb/google/auron: Convert to ASL 2.0 syntax
Built google/auron (Lulu) provides identical 'dsdt.dsl' files. Change-Id: I5728b220e88d4105fcf6e5cee78662bc80fa01d7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46169 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/google/auron/variants/samus')
-rw-r--r--src/mainboard/google/auron/variants/samus/include/variant/acpi/mainboard.asl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/google/auron/variants/samus/include/variant/acpi/mainboard.asl b/src/mainboard/google/auron/variants/samus/include/variant/acpi/mainboard.asl
index 4329d5f9ab..9ca592f401 100644
--- a/src/mainboard/google/auron/variants/samus/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/auron/variants/samus/include/variant/acpi/mainboard.asl
@@ -30,8 +30,8 @@ Scope (\_SB.PCI0.I2C0)
Method (_DSW, 3, NotSerialized)
{
- Store (BOARD_TRACKPAD_WAKE_GPIO, Local0)
- If (LEqual (Arg0, 1)) {
+ Local0 = BOARD_TRACKPAD_WAKE_GPIO
+ If (Arg0 == 1) {
// Enable GPIO as wake source
\_SB.PCI0.LPCB.GPIO.GWAK (Local0)
}
@@ -39,7 +39,7 @@ Scope (\_SB.PCI0.I2C0)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -141,8 +141,8 @@ Scope (\_SB.PCI0.I2C0)
Method (_DSW, 3, NotSerialized)
{
- Store (BOARD_CODEC_WAKE_GPIO, Local0)
- If (LEqual (Arg0, 1)) {
+ Local0 = BOARD_CODEC_WAKE_GPIO
+ If (Arg0 == 1) {
// Enable GPIO as wake source
\_SB.PCI0.LPCB.GPIO.GWAK (Local0)
}
@@ -150,7 +150,7 @@ Scope (\_SB.PCI0.I2C0)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -188,8 +188,8 @@ Scope (\_SB.PCI0.I2C1)
Method (_DSW, 3, NotSerialized)
{
- Store (BOARD_CODEC_WAKE_GPIO, Local0)
- If (LEqual (Arg0, 1)) {
+ Local0 = BOARD_CODEC_WAKE_GPIO
+ If (Arg0 == 1) {
// Enable GPIO as wake source
\_SB.PCI0.LPCB.GPIO.GWAK (Local0)
}
@@ -198,7 +198,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA)
{
- If (LEqual (\S2EN, 1)) {
+ If (\S2EN == 1) {
Return (0xF)
} Else {
Return (0x0)