On 21 April 2015 at 19:56, Bin Meng <[email protected]> wrote: > On x86 boards, platform chipset receives up to four different > interrupt signals from PCI devices (INTA/B/C/D), which in turn > will be routed to chipset internal PIRQ lines then routed to > 8259 PIC finally if configuring the whole system to work under > the so-called PIC mode (in contrast to symmetric IO mode which > uses IOAPIC). > > We add two major APIs to aid this, one for routing PIRQ and the > other one for generating a PIRQ routing table. > > Signed-off-by: Bin Meng <[email protected]> > --- > > arch/x86/Kconfig | 31 ++++++++ > arch/x86/include/asm/pirq_routing.h | 139 > ++++++++++++++++++++++++++++++++++++ > arch/x86/lib/Makefile | 1 + > arch/x86/lib/pirq_routing.c | 129 +++++++++++++++++++++++++++++++++ > 4 files changed, 300 insertions(+) > create mode 100644 arch/x86/include/asm/pirq_routing.h > create mode 100644 arch/x86/lib/pirq_routing.c
Acked-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

