mb/asus/p2b: Convert to ASL 2.0 syntax
Generated 'build/dsdt.dsl' files are identical. Change-Id: Ib07e4147f7f1b90f721be147d48ed12ae793c4fd Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46159 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
78b05575bf
commit
ef7ea6b77f
|
@ -67,23 +67,23 @@ DefinitionBlock (
|
||||||
Method (\_PTS, 1, NotSerialized)
|
Method (\_PTS, 1, NotSerialized)
|
||||||
{
|
{
|
||||||
/* Disable fan, blink power LED, if not turning off */
|
/* Disable fan, blink power LED, if not turning off */
|
||||||
If (LNotEqual (Arg0, 0x05))
|
If (Arg0 != 0x05)
|
||||||
{
|
{
|
||||||
Store (Zero, FANM)
|
FANM = 0
|
||||||
Store (Zero, PLED)
|
PLED = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Arms SMI for device 12 */
|
/* Arms SMI for device 12 */
|
||||||
Store (One, TO12)
|
TO12 = 1
|
||||||
/* Put out a POST code */
|
/* Put out a POST code */
|
||||||
Or (Arg0, 0xF0, P80)
|
P80 = Arg0 | 0xF0
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (\_WAK, 1, NotSerialized)
|
Method (\_WAK, 1, NotSerialized)
|
||||||
{
|
{
|
||||||
/* Re-enable fan, stop power led blinking */
|
/* Re-enable fan, stop power led blinking */
|
||||||
Store (One, FANM)
|
FANM = 1
|
||||||
Store (One, PLED)
|
PLED = 1
|
||||||
/* wake OK */
|
/* wake OK */
|
||||||
Return(Package(0x02){0x00, 0x00})
|
Return(Package(0x02){0x00, 0x00})
|
||||||
}
|
}
|
||||||
|
@ -212,10 +212,10 @@ DefinitionBlock (
|
||||||
CreateWordField (BUF1, _Y07._MIN, SBLO)
|
CreateWordField (BUF1, _Y07._MIN, SBLO)
|
||||||
CreateWordField (BUF1, _Y07._MAX, SBRL)
|
CreateWordField (BUF1, _Y07._MAX, SBRL)
|
||||||
|
|
||||||
And (\_SB.PCI0.PX43.PM00, 0xFFFE, PMLO)
|
PMLO = \_SB.PCI0.PX43.PM00 & 0xFFFE
|
||||||
And (\_SB.PCI0.PX43.SB00, 0xFFFE, SBLO)
|
SBLO = \_SB.PCI0.PX43.SB00 & 0xFFFE
|
||||||
Store (PMLO, PMRL)
|
PMRL = PMLO
|
||||||
Store (SBLO, SBRL)
|
SBRL = SBLO
|
||||||
Return (BUF1)
|
Return (BUF1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -246,13 +246,13 @@ DefinitionBlock (
|
||||||
{
|
{
|
||||||
Method (_MSG, 1, NotSerialized)
|
Method (_MSG, 1, NotSerialized)
|
||||||
{
|
{
|
||||||
If (LEqual (Arg0, Zero))
|
If (Arg0 == 0)
|
||||||
{
|
{
|
||||||
Store (One, MSG0)
|
MSG0 = 1
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
Store (Zero, MSG0)
|
MSG0 = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue