summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/variants/buddy
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/buddy
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/buddy')
-rw-r--r--src/mainboard/google/auron/variants/buddy/include/variant/acpi/mainboard.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/google/auron/variants/buddy/include/variant/acpi/mainboard.asl b/src/mainboard/google/auron/variants/buddy/include/variant/acpi/mainboard.asl
index b3dc42c8ae..4b0ac45c09 100644
--- a/src/mainboard/google/auron/variants/buddy/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/auron/variants/buddy/include/variant/acpi/mainboard.asl
@@ -24,7 +24,7 @@ Scope (\_SB.PCI0.I2C0)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -59,7 +59,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA)
{
- If (LEqual (\S2EN, 1)) {
+ If (\S2EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -70,8 +70,8 @@ Scope (\_SB.PCI0.I2C1)
Method (_DSW, 3, NotSerialized)
{
- Store (BOARD_TOUCHSCREEN_WAKE_GPIO, Local0)
- If (LEqual (Arg0, 1)) {
+ Local0 = BOARD_TOUCHSCREEN_WAKE_GPIO
+ If (Arg0 == 1) {
// Enable GPIO as wake source
\_SB.PCI0.LPCB.GPIO.GWAK (Local0)
}
@@ -96,7 +96,7 @@ Scope (\_SB.PCI0.RP01)
{
Store (BUDDY_NIC_WAKE_GPIO, Local0)
- If (LEqual (Arg0, 1)) {
+ If (Arg0 == 1) {
// Enable GPIO as wake source
\_SB.PCI0.LPCB.GPIO.GWAK (Local0)
}