[coreboot-gerrit] New patch to review for coreboot: 1e5525c supermicro/h8qgi/dsdt: Move _PIC method to root scope

Aladyshev Konstantin (aladyshev22@gmail.com) gerrit at coreboot.org
Tue Apr 8 18:08:46 CEST 2014


Aladyshev Konstantin (aladyshev22 at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5478

-gerrit

commit 1e5525ca72642677f85512d1b4c885deb784b56f
Author: Konstantin Aladyshev <aladyshev at nicevt.ru>
Date:   Sat Jul 12 09:17:24 2014 +0400

    supermicro/h8qgi/dsdt: Move _PIC method to root scope
    
    _PIC method should be declared under root scope (\_PIC),
    otherwise Linux kernel doesn't use it.
    
    Change-Id: I29b6ca60191507ac8edf99fdf173617bd6446934
    Signed-off-by: Konstantin Aladyshev <aladyshev at nicevt.ru>
---
 src/mainboard/supermicro/h8qgi/dsdt.asl | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/mainboard/supermicro/h8qgi/dsdt.asl b/src/mainboard/supermicro/h8qgi/dsdt.asl
index c854067..feb7697 100644
--- a/src/mainboard/supermicro/h8qgi/dsdt.asl
+++ b/src/mainboard/supermicro/h8qgi/dsdt.asl
@@ -448,6 +448,15 @@ DefinitionBlock (
 
 	#include "acpi/routing.asl"
 
+	Method(_PIC, 0x01, NotSerialized)
+	{
+		If (Arg0)
+		{
+			\_SB.CIRQ()
+		}
+		Store(Arg0, PMOD)
+	}
+
 	Scope(\_SB) {
 		Method(CkOT, 0){
 			if(LNotEqual(OSTP, Ones)) {Return(OSTP)}	/* OS version was already detected */
@@ -468,14 +477,6 @@ DefinitionBlock (
 			Return(OSTP)
 		}
 
-		Method(_PIC, 0x01, NotSerialized)
-		{
-			If (Arg0)
-			{
-				\_SB.CIRQ()
-			}
-			Store(Arg0, PMOD)
-		}
 		Method(CIRQ, 0x00, NotSerialized){
 			Store(0, PINA)
 			Store(0, PINB)



More information about the coreboot-gerrit mailing list