]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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

similarity index 98%
rename from arch/x86/include/asm/arch-baytrail/acpi/irq_helper.h
rename to arch/x86/include/asm/acpi/irq_helper.h
index 2c3585ac7f723a1280bf09e0d552d08f1d1f24c1..f0b3a6bc0a0701cc06b08d92a45043f4780c5006 100644 (file)
@@ -108,4 +108,4 @@ Device (prefix_ ## 0 ## func_) \
 }
 
 /* SoC specific PIRQ route configuration */
-#include "irqroute.h"
+#include <asm/arch/acpi/irqroute.h>
index 34d39514246699bdbbe8bdc5f65055890cf89ee4..e89ff26f75f81dc49d4750a73c59aaad5a7dd5cf 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>
 }