[U-Boot] [PATCH v3 0/8] dm: x86: Remove pirq_init() and cpu_irq_init()

Simon Glass sjg at chromium.org
Wed Jan 20 05:32:24 CET 2016


This series adds an interrupt driver for x86. Since different platforms
can implement this in their own way, we no-longer need the platform-specific
weak function. We can also dispense with the arch_misc_init() call in some
cases.

Changes in v3:
- Add new patch to use the IRQ device when setting up the mptable
- Add new patch to drop the irq router compatible string

Changes in v2:
- Rebase on top of updated SPI flash series

Simon Glass (8):
  dm: x86: Create a driver for x86 interrupts
  dm: x86: Set up interrupt routing from interrupt_init()
  dm: x86: Add a common PIRQ init function
  x86: Use the IRQ device when setting up the mptable
  x86: Drop the irq router compatible string
  dm: x86: quark: Add an interrupt driver
  dm: x86: queensbay: Add an interrupt driver
  dm: x86: Drop the weak cpu_irq_init() function

 arch/x86/cpu/baytrail/valleyview.c |  2 +-
 arch/x86/cpu/interrupts.c          |  9 ++++++
 arch/x86/cpu/irq.c                 | 48 ++++++++++++++++------------
 arch/x86/cpu/qemu/qemu.c           |  5 ---
 arch/x86/cpu/quark/Makefile        |  2 +-
 arch/x86/cpu/quark/irq.c           | 49 ++++++++++++++++++++++++++++
 arch/x86/cpu/quark/quark.c         | 27 +---------------
 arch/x86/cpu/queensbay/Makefile    |  2 +-
 arch/x86/cpu/queensbay/irq.c       | 65 ++++++++++++++++++++++++++++++++++++++
 arch/x86/cpu/queensbay/tnc.c       | 39 +----------------------
 arch/x86/dts/crownbay.dts          |  2 +-
 arch/x86/dts/galileo.dts           |  2 +-
 arch/x86/include/asm/irq.h         | 19 ++---------
 arch/x86/lib/mpspec.c              | 14 ++++----
 include/configs/qemu-x86.h         |  1 -
 include/dm/uclass-id.h             |  1 +
 include/fdtdec.h                   |  1 -
 lib/fdtdec.c                       |  1 -
 18 files changed, 169 insertions(+), 120 deletions(-)
 create mode 100644 arch/x86/cpu/quark/irq.c
 create mode 100644 arch/x86/cpu/queensbay/irq.c

-- 
2.7.0.rc3.207.g0ac5344



More information about the U-Boot mailing list