]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Refactor PIRQ routing support
authorBin Meng <bmeng.cn@gmail.com>
Mon, 25 May 2015 14:35:04 +0000 (22:35 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:15 +0000 (22:48 +0200)
commit28af5121f1c575d523ebf2226ed988c6c57fb336
tree91f2f3361ba32502c90542b88b0e0be3c1457e42
parent54a56239ed40c12004208ccf2f0e9b93a3f2fa3d
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