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>
This commit is contained in:
parent
c185cc69f3
commit
d20d818b8c
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue