From 05ba1bb6d45de0b1534cea2ac89d9bc2d275e7b0 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Sat, 12 Jul 2014 09:17:24 +0400 Subject: 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 Reviewed-on: http://review.coreboot.org/5478 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/mainboard/supermicro/h8qgi/dsdt.asl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/supermicro/h8qgi/dsdt.asl b/src/mainboard/supermicro/h8qgi/dsdt.asl index c8540672cd..feb7697796 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) -- cgit v1.2.3