blob: 2fc9873d49cb34fca753f93a2312faa17c314ea6 [file] [log] [blame]
Lee Leahy77ff0b12015-05-05 15:07:29 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2013 Google Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Lee Leahy77ff0b12015-05-05 15:07:29 -070015 */
16
Lee Leahy32471722015-04-20 15:20:28 -070017/* PCI Interrupt Routing */
Lee Leahy77ff0b12015-05-05 15:07:29 -070018Method(_PRT)
19{
20 If (PICM) {
21 Return (Package() {
22 #undef PIC_MODE
Lee Leahy32471722015-04-20 15:20:28 -070023 #include <soc/intel/braswell/acpi/irq_helper.h>
Lee Leahy77ff0b12015-05-05 15:07:29 -070024 PCI_DEV_PIRQ_ROUTES
25 })
26 } Else {
27 Return (Package() {
28 #define PIC_MODE
Lee Leahy32471722015-04-20 15:20:28 -070029 #include <soc/intel/braswell/acpi/irq_helper.h>
Lee Leahy77ff0b12015-05-05 15:07:29 -070030 PCI_DEV_PIRQ_ROUTES
31 })
32 }
33}