mb/intel/baskingridge: Convert to ASL 2.0 syntax
Generated 'dsdt.dsl' files are identical. Change-Id: I5897397bdadf86214ceaf90d8cd706e10969d8c1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46182 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
c98ba03493
commit
29ef574b3f
|
@ -20,10 +20,10 @@ Scope (\_TZ)
|
||||||
// Convert from Degrees C to 1/10 Kelvin for ACPI
|
// Convert from Degrees C to 1/10 Kelvin for ACPI
|
||||||
Method (CTOK, 1) {
|
Method (CTOK, 1) {
|
||||||
// 10th of Degrees C
|
// 10th of Degrees C
|
||||||
Multiply (Arg0, 10, Local0)
|
Local0 = Arg0 * 10
|
||||||
|
|
||||||
// Convert to Kelvin
|
// Convert to Kelvin
|
||||||
Add (Local0, 2732, Local0)
|
Local0 += 2732
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ Scope (\_TZ)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_AC0) {
|
Method (_AC0) {
|
||||||
If (LLessEqual (\FLVL, 0)) {
|
If (\FLVL <= 0) {
|
||||||
Return (CTOK (\F0OF))
|
Return (CTOK (\F0OF))
|
||||||
} Else {
|
} Else {
|
||||||
Return (CTOK (\F0ON))
|
Return (CTOK (\F0ON))
|
||||||
|
@ -60,7 +60,7 @@ Scope (\_TZ)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_AC1) {
|
Method (_AC1) {
|
||||||
If (LLessEqual (\FLVL, 1)) {
|
If (\FLVL <= 1) {
|
||||||
Return (CTOK (\F1OF))
|
Return (CTOK (\F1OF))
|
||||||
} Else {
|
} Else {
|
||||||
Return (CTOK (\F1ON))
|
Return (CTOK (\F1ON))
|
||||||
|
@ -68,7 +68,7 @@ Scope (\_TZ)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_AC2) {
|
Method (_AC2) {
|
||||||
If (LLessEqual (\FLVL, 2)) {
|
If (\FLVL <= 2) {
|
||||||
Return (CTOK (\F2OF))
|
Return (CTOK (\F2OF))
|
||||||
} Else {
|
} Else {
|
||||||
Return (CTOK (\F2ON))
|
Return (CTOK (\F2ON))
|
||||||
|
@ -76,7 +76,7 @@ Scope (\_TZ)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_AC3) {
|
Method (_AC3) {
|
||||||
If (LLessEqual (\FLVL, 3)) {
|
If (\FLVL <= 3) {
|
||||||
Return (CTOK (\F3OF))
|
Return (CTOK (\F3OF))
|
||||||
} Else {
|
} Else {
|
||||||
Return (CTOK (\F3ON))
|
Return (CTOK (\F3ON))
|
||||||
|
@ -84,7 +84,7 @@ Scope (\_TZ)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_AC4) {
|
Method (_AC4) {
|
||||||
If (LLessEqual (\FLVL, 4)) {
|
If (\FLVL <= 4) {
|
||||||
Return (CTOK (\F4OF))
|
Return (CTOK (\F4OF))
|
||||||
} Else {
|
} Else {
|
||||||
Return (CTOK (\F4ON))
|
Return (CTOK (\F4ON))
|
||||||
|
@ -100,20 +100,20 @@ Scope (\_TZ)
|
||||||
PowerResource (FNP0, 0, 0)
|
PowerResource (FNP0, 0, 0)
|
||||||
{
|
{
|
||||||
Method (_STA) {
|
Method (_STA) {
|
||||||
If (LLessEqual (\FLVL, 0)) {
|
If (\FLVL <= 0) {
|
||||||
Return (One)
|
Return (One)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (Zero)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
Store (0, \FLVL)
|
\FLVL = 0
|
||||||
Store (\F0PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F0PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
Method (_OFF) {
|
Method (_OFF) {
|
||||||
Store (1, \FLVL)
|
\FLVL = 1
|
||||||
Store (\F1PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F1PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,20 +121,20 @@ Scope (\_TZ)
|
||||||
PowerResource (FNP1, 0, 0)
|
PowerResource (FNP1, 0, 0)
|
||||||
{
|
{
|
||||||
Method (_STA) {
|
Method (_STA) {
|
||||||
If (LLessEqual (\FLVL, 1)) {
|
If (\FLVL <= 1) {
|
||||||
Return (One)
|
Return (One)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (Zero)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
Store (1, \FLVL)
|
\FLVL = 1
|
||||||
Store (\F1PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F1PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
Method (_OFF) {
|
Method (_OFF) {
|
||||||
Store (2, \FLVL)
|
\FLVL = 2
|
||||||
Store (\F2PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F2PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,20 +142,20 @@ Scope (\_TZ)
|
||||||
PowerResource (FNP2, 0, 0)
|
PowerResource (FNP2, 0, 0)
|
||||||
{
|
{
|
||||||
Method (_STA) {
|
Method (_STA) {
|
||||||
If (LLessEqual (\FLVL, 2)) {
|
If (\FLVL <= 2) {
|
||||||
Return (One)
|
Return (One)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (Zero)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
Store (2, \FLVL)
|
\FLVL = 2
|
||||||
Store (\F2PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F2PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
Method (_OFF) {
|
Method (_OFF) {
|
||||||
Store (3, \FLVL)
|
\FLVL = 3
|
||||||
Store (\F3PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F3PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -163,20 +163,20 @@ Scope (\_TZ)
|
||||||
PowerResource (FNP3, 0, 0)
|
PowerResource (FNP3, 0, 0)
|
||||||
{
|
{
|
||||||
Method (_STA) {
|
Method (_STA) {
|
||||||
If (LLessEqual (\FLVL, 3)) {
|
If (\FLVL <= 3) {
|
||||||
Return (One)
|
Return (One)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (Zero)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
Store (3, \FLVL)
|
\FLVL = 3
|
||||||
Store (\F3PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F3PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
Method (_OFF) {
|
Method (_OFF) {
|
||||||
Store (4, \FLVL)
|
\FLVL = 4
|
||||||
Store (\F4PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F4PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -184,20 +184,20 @@ Scope (\_TZ)
|
||||||
PowerResource (FNP4, 0, 0)
|
PowerResource (FNP4, 0, 0)
|
||||||
{
|
{
|
||||||
Method (_STA) {
|
Method (_STA) {
|
||||||
If (LLessEqual (\FLVL, 4)) {
|
If (\FLVL <= 4) {
|
||||||
Return (One)
|
Return (One)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (Zero)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
Store (4, \FLVL)
|
\FLVL = 4
|
||||||
Store (\F4PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F4PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
Method (_OFF) {
|
Method (_OFF) {
|
||||||
Store (4, \FLVL)
|
\FLVL = 4
|
||||||
Store (\F4PW, \_SB.PCI0.LPCB.SIO.ENVC.F3PS)
|
\_SB.PCI0.LPCB.SIO.ENVC.F3PS = \F4PW
|
||||||
Notify (\_TZ.THRM, 0x81)
|
Notify (\_TZ.THRM, 0x81)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue