summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-06 13:35:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-12 14:38:51 +0000
commitd20d818b8c002538dc18a146b004b914c75c9dad (patch)
tree85d5040c9d9a8fe81bf8f8e5e0a194fb9915a38f
parentc185cc69f3e362dd0f6f87f000702e2df379b6ef (diff)
mb/facebook: Convert to ASL 2.0 syntax
Change-Id: I91f65fecdcdf41dc41f136e8d66bbf730343aef3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46078 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/facebook/monolith/acpi/ec.asl24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mainboard/facebook/monolith/acpi/ec.asl b/src/mainboard/facebook/monolith/acpi/ec.asl
index 8aff5417e0..e729e0140b 100644
--- a/src/mainboard/facebook/monolith/acpi/ec.asl
+++ b/src/mainboard/facebook/monolith/acpi/ec.asl
@@ -36,8 +36,8 @@ Device (EC0)
Method (TSRD, 1, Serialized)
{
/* Prevent iasl remarks about unused parameters */
- Store(Arg0, Local0)
- Store(Local0, Arg0)
+ Local0 = Arg0
+ Arg0 = Local0
Return (\_SB.DPTF.CTOK (CPUT))
}
@@ -45,27 +45,27 @@ Device (EC0)
Method (PAT0, 2, Serialized)
{
/* Prevent iasl remarks about unused parameters */
- Store(Arg0, Local0)
- Store(Local0, Arg0)
- Store(Arg1, Local0)
- Store(Local0, Arg1)
+ Local0 = Arg0
+ Arg0 = Local0
+ Local0 = Arg1
+ Arg1 = Local0
}
/* Set Aux Trip Point 1 */
Method (PAT1, 2, Serialized)
{
/* Prevent iasl remarks about unused parameters */
- Store(Arg0, Local0)
- Store(Local0, Arg0)
- Store(Arg1, Local0)
- Store(Local0, Arg1)
+ Local0 = Arg0
+ Arg0 = Local0
+ Local0 = Arg1
+ Arg1 = Local0
}
/* Disable Aux Trip Point */
Method (PATD, 1, Serialized)
{
/* Prevent iasl remarks about unused parameters */
- Store(Arg0, Local0)
- Store(Local0, Arg0)
+ Local0 = Arg0
+ Arg0 = Local0
}
}