x86: Refactor PIRQ routing support
authorBin Meng <bmeng.cn@gmail.com>
Mon, 25 May 2015 14:35:04 +0000 (22:35 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 08:39:39 +0000 (02:39 -0600)
commit9c7dea602edd9027848d312e9b3b69f06c15f163
tree4893732c170a3a889b819482f7003491ecbac11c
parent2aa3a7fb1c24afd4c0e12360acccf3234d8fe019
x86: Refactor PIRQ routing support

PIRQ routing is pretty much common in Intel chipset. It has several
PIRQ links (normally 8) and corresponding registers (either in PCI
configuration space or memory-mapped IBASE) to configure the legacy
8259 IRQ vector mapping. Refactor current Queensbay PIRQ routing
support using device tree and move it to a common place, so that we
can easily add PIRQ routing support on a new platform.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/Makefile
arch/x86/cpu/irq.c [new file with mode: 0644]
arch/x86/cpu/queensbay/Makefile
arch/x86/cpu/queensbay/irq.c [deleted file]
arch/x86/cpu/queensbay/tnc.c
arch/x86/dts/crownbay.dts
arch/x86/include/asm/arch-queensbay/irq.h [deleted file]
arch/x86/include/asm/irq.h [new file with mode: 0644]
include/dt-bindings/interrupt-router/intel-irq.h [new file with mode: 0644]
include/fdtdec.h
lib/fdtdec.c