Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 8 Oct 2016 04:16:16 +0000 (21:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 8 Oct 2016 04:16:16 +0000 (21:16 -0700)
Pull ARM SoC cleanups from Arnd Bergmann:
 "The cleanups for v4.9 are a little larger that usual, but thankfully
  that is almost exclusively due to removing a significant number of
  files that have become obsolete after the still ongoing conversion of
  old board files to devicetree.

   - for mach-omap2, which is still the largest platform in arch/arm/,
     the conversion to DT is finally complete after the Nokia N900 is
     now fully supported there, along with the omap3 LDP, and we can
     remove those two board files. If no regressions are found, another
     large cleanup for the platform will happen as a follow-up, removing
     dead code and restructuring the platform based on being DT-only.

   - In mach-imx, similar work is ongoing, but has not come that far.
     This time, we remove the obsolete board file for the i.MX1
     generation, which like i.MX25, i.MX5, i.MX6, and i.MX7 is now
     DT-only. The remaining board files are for i.MX2 and i.MX3 machines
     based on old ARM926 or ARM1136 cores that should work with DT in
     principle.

   - realview has just been converted from board files to DT, and a lot
     of code gets removed in the process. This is the last
     ARM/Keil/Versatile derived platform that was still using board
     files, the other ones being integrator, versatile and vexpress. We
     can probably merge the remaining code into a single directory in
     the near future.

   - clps711x had completed the conversion in v4.8, but we accidentally
     left the files in place that should have been deleted then"

* tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (21 commits)
  ARM: select PCI_DOMAINS config from ARCH_MULTIPLATFORM
  ARM: stop *MIGHT_HAVE_PCI* config from being selected redundantly
  ARM: imx: (trivial) fix typo and grammar
  ARM: clps711x: remove extraneous files
  ARM: imx: use IS_ENABLED() instead of checking for built-in or module
  ARM: OMAP2+: use IS_ENABLED() instead of checking for built-in or module
  ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module
  ARM: imx: remove platform-mxc_rnga
  ARM: realview: imply device tree boot
  ARM: realview: no need to select SMP_ON_UP explicitly
  ARM: realview: delete the RealView board files
  ARM: imx: no need to select SMP_ON_UP explicitly
  ARM: i.MX: Move SOC_IMX1 into 'Device tree only'
  ARM: i.MX: Remove i.MX1 non-DT support
  ARM: i.MX: Remove i.MX1 Synertronixx SCB9328 board support
  ARM: i.MX: Remove i.MX1 Armadeus APF9328 board support
  ARM: mxs: remove obsolete startup code for TX28
  ARM: i.MX31 iomux: remove duplicates with alternate name
  ARM: i.MX31 iomux: remove plain duplicates
  ARM: OMAP2+: Drop legacy board file for LDP
  ...

1  2 
arch/arm/Kconfig
drivers/irqchip/Makefile

diff --combined arch/arm/Kconfig
@@@ -1,7 -1,6 +1,7 @@@
  config ARM
        bool
        default y
 +      select ARCH_CLOCKSOURCE_DATA
        select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
        select ARCH_HAS_DEVMEM_IS_ALLOWED
        select ARCH_HAS_ELF_RANDOMIZE
@@@ -279,10 -278,9 +279,9 @@@ config PHYS_OFFSE
                        ARCH_INTEGRATOR || \
                        ARCH_IOP13XX || \
                        ARCH_KS8695 || \
-                       (ARCH_REALVIEW && !REALVIEW_HIGH_PHYS_OFFSET)
+                       ARCH_REALVIEW
        default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
        default 0x20000000 if ARCH_S5PV210
-       default 0x70000000 if REALVIEW_HIGH_PHYS_OFFSET
        default 0xc0000000 if ARCH_SA1100
        help
          Please provide the physical address corresponding to the
@@@ -338,6 -336,7 +337,7 @@@ config ARCH_MULTIPLATFOR
        select GENERIC_CLOCKEVENTS
        select MIGHT_HAVE_PCI
        select MULTI_IRQ_HANDLER
+       select PCI_DOMAINS if PCI
        select SPARSE_IRQ
        select USE_OF
  
@@@ -879,7 -878,6 +879,7 @@@ config ARCH_STM3
        select CLKSRC_STM32
        select PINCTRL
        select RESET_CONTROLLER
 +      select STM32_EXTI
        help
          Support for STMicroelectronics STM32 processors.
  
diff --combined drivers/irqchip/Makefile
@@@ -25,7 -25,7 +25,7 @@@ obj-$(CONFIG_ARCH_SUNXI)              += irq-sunxi-
  obj-$(CONFIG_ARCH_SPEAR3XX)           += spear-shirq.o
  obj-$(CONFIG_ARM_GIC)                 += irq-gic.o irq-gic-common.o
  obj-$(CONFIG_ARM_GIC_PM)              += irq-gic-pm.o
- obj-$(CONFIG_REALVIEW_DT)             += irq-gic-realview.o
+ obj-$(CONFIG_ARCH_REALVIEW)           += irq-gic-realview.o
  obj-$(CONFIG_ARM_GIC_V2M)             += irq-gic-v2m.o
  obj-$(CONFIG_ARM_GIC_V3)              += irq-gic-v3.o irq-gic-common.o
  obj-$(CONFIG_ARM_GIC_V3_ITS)          += irq-gic-v3-its.o irq-gic-v3-its-pci-msi.o irq-gic-v3-its-platform-msi.o
@@@ -40,7 -40,6 +40,7 @@@ obj-$(CONFIG_I8259)                   += irq-i8259.
  obj-$(CONFIG_IMGPDC_IRQ)              += irq-imgpdc.o
  obj-$(CONFIG_IRQ_MIPS_CPU)            += irq-mips-cpu.o
  obj-$(CONFIG_SIRF_IRQ)                        += irq-sirfsoc.o
 +obj-$(CONFIG_JCORE_AIC)                       += irq-jcore-aic.o
  obj-$(CONFIG_RENESAS_INTC_IRQPIN)     += irq-renesas-intc-irqpin.o
  obj-$(CONFIG_RENESAS_IRQC)            += irq-renesas-irqc.o
  obj-$(CONFIG_VERSATILE_FPGA_IRQ)      += irq-versatile-fpga.o
@@@ -69,8 -68,6 +69,8 @@@ obj-$(CONFIG_INGENIC_IRQ)             += irq-ingen
  obj-$(CONFIG_IMX_GPCV2)                       += irq-imx-gpcv2.o
  obj-$(CONFIG_PIC32_EVIC)              += irq-pic32-evic.o
  obj-$(CONFIG_MVEBU_ODMI)              += irq-mvebu-odmi.o
 +obj-$(CONFIG_MVEBU_PIC)                       += irq-mvebu-pic.o
  obj-$(CONFIG_LS_SCFG_MSI)             += irq-ls-scfg-msi.o
  obj-$(CONFIG_EZNPS_GIC)                       += irq-eznps.o
  obj-$(CONFIG_ARCH_ASPEED)             += irq-aspeed-vic.o
 +obj-$(CONFIG_STM32_EXTI)              += irq-stm32-exti.o