summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev@nicevt.ru>2014-07-12 09:17:24 +0400
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-04-09 05:00:06 +0200
commit05ba1bb6d45de0b1534cea2ac89d9bc2d275e7b0 (patch)
treeca83569acce85251b1160c0d5654ffd029120144
parent12fd7791764314163e324cdf58a94ba14e97fc48 (diff)
downloadcoreboot-05ba1bb6d45de0b1534cea2ac89d9bc2d275e7b0.tar.xz
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>
-rw-r--r--src/mainboard/supermicro/h8qgi/dsdt.asl17
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)