diff options
author | Konstantin Aladyshev <aladyshev@nicevt.ru> | 2014-07-12 09:17:24 +0400 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-09 05:00:06 +0200 |
commit | 05ba1bb6d45de0b1534cea2ac89d9bc2d275e7b0 (patch) | |
tree | ca83569acce85251b1160c0d5654ffd029120144 /src/mainboard | |
parent | 12fd7791764314163e324cdf58a94ba14e97fc48 (diff) |
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@nicevt.ru>
Reviewed-on: http://review.coreboot.org/5478
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/supermicro/h8qgi/dsdt.asl | 17 |
1 files changed, 9 insertions, 8 deletions
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) |