aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng2016-05-25 19:19:07 -0700
committerBin Meng2016-05-30 10:21:12 +0800
commit3498cc9775e255875ae30ecfb4e29ea1220923a3 (patch)
treea2adeb4a11da16c0e937037777ac05ae122705de /arch
parent0d71511a2ae03aeb3794a0461bd8c14752438c7f (diff)
x86: acpi: Make irqroute.asl common
The irqroute.asl file is already common enough to all x86 platforms. Platform ASL files need only provide a irqroute.h to describe how internal PCI devices and PCIe downstream port devices' INTx pins are routed to which PIRQ pin. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/acpi/irq_helper.h (renamed from arch/x86/include/asm/arch-baytrail/acpi/irq_helper.h)2
-rw-r--r--arch/x86/include/asm/acpi/irqroute.asl (renamed from arch/x86/include/asm/arch-baytrail/acpi/irqroute.asl)0
-rw-r--r--arch/x86/include/asm/arch-baytrail/acpi/southcluster.asl2
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/arch-baytrail/acpi/irq_helper.h b/arch/x86/include/asm/acpi/irq_helper.h
index 2c3585ac7f7..f0b3a6bc0a0 100644
--- a/arch/x86/include/asm/arch-baytrail/acpi/irq_helper.h
+++ b/arch/x86/include/asm/acpi/irq_helper.h
@@ -108,4 +108,4 @@ Device (prefix_ ## 0 ## func_) \
}
/* SoC specific PIRQ route configuration */
-#include "irqroute.h"
+#include <asm/arch/acpi/irqroute.h>
diff --git a/arch/x86/include/asm/arch-baytrail/acpi/irqroute.asl b/arch/x86/include/asm/acpi/irqroute.asl
index 64d38207d93..64d38207d93 100644
--- a/arch/x86/include/asm/arch-baytrail/acpi/irqroute.asl
+++ b/arch/x86/include/asm/acpi/irqroute.asl
diff --git a/arch/x86/include/asm/arch-baytrail/acpi/southcluster.asl b/arch/x86/include/asm/arch-baytrail/acpi/southcluster.asl
index 34d39514246..e89ff26f75f 100644
--- a/arch/x86/include/asm/arch-baytrail/acpi/southcluster.asl
+++ b/arch/x86/include/asm/arch-baytrail/acpi/southcluster.asl
@@ -207,5 +207,5 @@ Device (PCI0)
#include "xhci.asl"
/* IRQ routing for each PCI device */
- #include "irqroute.asl"
+ #include <asm/acpi/irqroute.asl>
}