x86: acpi: Make irqroute.asl common
authorBin Meng <bmeng.cn@gmail.com>
Thu, 26 May 2016 02:19:07 +0000 (19:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 30 May 2016 02:21:12 +0000 (10:21 +0800)
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>
arch/x86/include/asm/acpi/irq_helper.h [moved from arch/x86/include/asm/arch-baytrail/acpi/irq_helper.h with 98% similarity]
arch/x86/include/asm/acpi/irqroute.asl [moved from arch/x86/include/asm/arch-baytrail/acpi/irqroute.asl with 100% similarity]
arch/x86/include/asm/arch-baytrail/acpi/southcluster.asl

@@ -108,4 +108,4 @@ Device (prefix_ ## 0 ## func_) \
 }
 
 /* SoC specific PIRQ route configuration */
-#include "irqroute.h"
+#include <asm/arch/acpi/irqroute.h>
index 34d3951..e89ff26 100644 (file)
@@ -207,5 +207,5 @@ Device (PCI0)
        #include "xhci.asl"
 
        /* IRQ routing for each PCI device */
-       #include "irqroute.asl"
+       #include <asm/acpi/irqroute.asl>
 }