[U-Boot] [PATCH v2 1/4] x86: Refactor PIRQ routing support

Simon Glass sjg at chromium.org
Tue May 26 22:58:06 CEST 2015


On 25 May 2015 at 08:35, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
>
> ---
>
> Changes in v2:
> - Include dt-bindings/interrupt-router/intel-irq.h to avoid duplication
> - Remove board_fill_irq_info() since all routing information is defined in dts
>
>  arch/x86/cpu/Makefile                            |   2 +-
>  arch/x86/cpu/irq.c                               | 213 ++++++++++++++++++++
>  arch/x86/cpu/queensbay/Makefile                  |   2 +-
>  arch/x86/cpu/queensbay/irq.c                     | 242 -----------------------
>  arch/x86/cpu/queensbay/tnc.c                     |  39 +++-
>  arch/x86/dts/crownbay.dts                        |  54 +++++
>  arch/x86/include/asm/arch-queensbay/irq.h        |  55 ------
>  arch/x86/include/asm/irq.h                       |  76 +++++++
>  include/dt-bindings/interrupt-router/intel-irq.h |  31 +++
>  include/fdtdec.h                                 |   1 +
>  lib/fdtdec.c                                     |   1 +
>  11 files changed, 416 insertions(+), 300 deletions(-)
>  create mode 100644 arch/x86/cpu/irq.c
>  delete mode 100644 arch/x86/cpu/queensbay/irq.c
>  delete mode 100644 arch/x86/include/asm/arch-queensbay/irq.h
>  create mode 100644 arch/x86/include/asm/irq.h
>  create mode 100644 include/dt-bindings/interrupt-router/intel-irq.h
>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list