HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46084 )
Change subject: mb/packardbell: Convert to ASL 2.0 syntax ......................................................................
mb/packardbell: Convert to ASL 2.0 syntax
Change-Id: I5f1dbb2595c3ee8cb35bb8a6431288f4a96ce978 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/packardbell/ms2290/acpi/platform.asl M src/mainboard/packardbell/ms2290/acpi/thermal.asl 2 files changed, 17 insertions(+), 17 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/46084/1
diff --git a/src/mainboard/packardbell/ms2290/acpi/platform.asl b/src/mainboard/packardbell/ms2290/acpi/platform.asl index 297eeb4..9ec8e6e 100644 --- a/src/mainboard/packardbell/ms2290/acpi/platform.asl +++ b/src/mainboard/packardbell/ms2290/acpi/platform.asl @@ -46,47 +46,47 @@ */
/* Let's assume we're running at least Windows 2000 */ - Store (2000, OSYS) + OSYS = 2000
If (CondRefOf(_OSI)) { If (_OSI("Windows 2001")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2001 SP1")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2001 SP2")) { - Store (2002, OSYS) + OSYS = 2002 }
If (_OSI("Windows 2001.1")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2001.1 SP1")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2006")) { - Store (2006, OSYS) + OSYS = 2006 }
If (_OSI("Windows 2006.1")) { - Store (2006, OSYS) + OSYS = 2006 }
If (_OSI("Windows 2006 SP1")) { - Store (2006, OSYS) + OSYS = 2006 }
If (_OSI("Windows 2009")) { - Store (2009, OSYS) + OSYS = 2009 }
If (_OSI("Windows 2012")) { - Store (2012, OSYS) + OSYS = 2012 } } } diff --git a/src/mainboard/packardbell/ms2290/acpi/thermal.asl b/src/mainboard/packardbell/ms2290/acpi/thermal.asl index 8d24127..913df61 100644 --- a/src/mainboard/packardbell/ms2290/acpi/thermal.asl +++ b/src/mainboard/packardbell/ms2290/acpi/thermal.asl @@ -6,13 +6,13 @@
Method(C2K, 1, NotSerialized) { - Multiply(Arg0, 10, Local0) - Add (Local0, 2732, Local0) - if (LLessEqual(Local0, 2732)) { + Local0 = Arg0 * 10 + Local0 += 2732 + if (Local0 <= 2732) { Return (3000) }
- if (LGreater(Local0, 4012)) { + if (Local0 > 4012) { Return (3000) } Return (Local0) @@ -25,10 +25,10 @@ } Method(_TMP) { /* Avoid tripping alarm if ME isn't booted at all yet */ - If (LAnd (LNot (MEBT), LEqual (_SB.PCI0.LPCB.EC.TMP0, 128))) { + If (!MEBT & (_SB.PCI0.LPCB.EC.TMP0 == 128)) { Return (C2K(40)) } - Store (1, MEBT) + MEBT = 1 Return (C2K(_SB.PCI0.LPCB.EC.TMP0)) } }
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/46084
to look at the new patch set (#3).
Change subject: mb/packardbell: Convert to ASL 2.0 syntax ......................................................................
mb/packardbell: Convert to ASL 2.0 syntax
Built for packardbell/ms2290 provides same build/dsdt.dsl file.
Change-Id: I5f1dbb2595c3ee8cb35bb8a6431288f4a96ce978 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/packardbell/ms2290/acpi/platform.asl M src/mainboard/packardbell/ms2290/acpi/thermal.asl 2 files changed, 17 insertions(+), 17 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/46084/3
Attention is currently required from: HAOUAS Elyes. Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46084 )
Change subject: mb/packardbell: Convert to ASL 2.0 syntax ......................................................................
Patch Set 3: Code-Review+2
Michael Niewöhner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/46084 )
Change subject: mb/packardbell: Convert to ASL 2.0 syntax ......................................................................
mb/packardbell: Convert to ASL 2.0 syntax
Built for packardbell/ms2290 provides same build/dsdt.dsl file.
Change-Id: I5f1dbb2595c3ee8cb35bb8a6431288f4a96ce978 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/46084 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Michael Niewöhner foss@mniewoehner.de --- M src/mainboard/packardbell/ms2290/acpi/platform.asl M src/mainboard/packardbell/ms2290/acpi/thermal.asl 2 files changed, 17 insertions(+), 17 deletions(-)
Approvals: build bot (Jenkins): Verified Michael Niewöhner: Looks good to me, approved
diff --git a/src/mainboard/packardbell/ms2290/acpi/platform.asl b/src/mainboard/packardbell/ms2290/acpi/platform.asl index 297eeb4..9ec8e6e 100644 --- a/src/mainboard/packardbell/ms2290/acpi/platform.asl +++ b/src/mainboard/packardbell/ms2290/acpi/platform.asl @@ -46,47 +46,47 @@ */
/* Let's assume we're running at least Windows 2000 */ - Store (2000, OSYS) + OSYS = 2000
If (CondRefOf(_OSI)) { If (_OSI("Windows 2001")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2001 SP1")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2001 SP2")) { - Store (2002, OSYS) + OSYS = 2002 }
If (_OSI("Windows 2001.1")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2001.1 SP1")) { - Store (2001, OSYS) + OSYS = 2001 }
If (_OSI("Windows 2006")) { - Store (2006, OSYS) + OSYS = 2006 }
If (_OSI("Windows 2006.1")) { - Store (2006, OSYS) + OSYS = 2006 }
If (_OSI("Windows 2006 SP1")) { - Store (2006, OSYS) + OSYS = 2006 }
If (_OSI("Windows 2009")) { - Store (2009, OSYS) + OSYS = 2009 }
If (_OSI("Windows 2012")) { - Store (2012, OSYS) + OSYS = 2012 } } } diff --git a/src/mainboard/packardbell/ms2290/acpi/thermal.asl b/src/mainboard/packardbell/ms2290/acpi/thermal.asl index 8d24127..a693504 100644 --- a/src/mainboard/packardbell/ms2290/acpi/thermal.asl +++ b/src/mainboard/packardbell/ms2290/acpi/thermal.asl @@ -6,13 +6,13 @@
Method(C2K, 1, NotSerialized) { - Multiply(Arg0, 10, Local0) - Add (Local0, 2732, Local0) - if (LLessEqual(Local0, 2732)) { + Local0 = Arg0 * 10 + Local0 += 2732 + if (Local0 <= 2732) { Return (3000) }
- if (LGreater(Local0, 4012)) { + if (Local0 > 4012) { Return (3000) } Return (Local0) @@ -25,10 +25,10 @@ } Method(_TMP) { /* Avoid tripping alarm if ME isn't booted at all yet */ - If (LAnd (LNot (MEBT), LEqual (_SB.PCI0.LPCB.EC.TMP0, 128))) { + If (!MEBT && (_SB.PCI0.LPCB.EC.TMP0 == 128)) { Return (C2K(40)) } - Store (1, MEBT) + MEBT = 1 Return (C2K(_SB.PCI0.LPCB.EC.TMP0)) } }