OpenCloudOS-Kernel/arch/arm
Arnd Bergmann 59d92875a6 ARM: OMAP: build mach-omap code only if needed
If we build a kernel with CONFIG_ARCH_OMAP2PLUS enabled but all of the
individual SoCs disabled, we run into a large number of link errors
because if incorrect dependencies:

arch/arm/mach-omap2/built-in.o: In function `_add_initiator_dep':
arch/arm/mach-omap2/omap_hwmod.c:691: undefined reference to `clkdm_add_sleepdep' arch/arm/mach-omap2/built-in.o: In function `_del_initiator_dep':
arch/arm/mach-omap2/omap_hwmod.c:720: undefined reference to `clkdm_del_sleepdep' arch/arm/mach-omap2/built-in.o: In function `_enable':
arch/arm/mach-omap2/omap_hwmod.c:2145: undefined reference to `clkdm_in_hwsup'
arch/arm/mach-omap2/omap_hwmod.c:2147: undefined reference to `clkdm_hwmod_enable'
arch/arm/mach-omap2/omap_hwmod.c:2191: undefined reference to `clkdm_hwmod_disable'
arch/arm/mach-omap2/omap_hwmod.c:2146: undefined reference to `clkdm_missing_idle_reporting' arch/arm/mach-omap2/built-in.o: In function `_idle':
arch/arm/mach-omap2/omap_hwmod.c:2235: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/built-in.o: In function `_shutdown':
arch/arm/mach-omap2/omap_hwmod.c:2338: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/built-in.o: In function `omap_hwmod_get_context_loss_count':
arch/arm/mach-omap2/omap_hwmod.c:4071: undefined reference to `pwrdm_get_context_loss_count' arch/arm/mach-omap2/built-in.o: In function `omap_pm_clkdms_setup':
arch/arm/mach-omap2/pm.c:114: undefined reference to `clkdm_allow_idle'
arch/arm/mach-omap2/pm.c:117: undefined reference to `clkdm_sleep' arch/arm/mach-omap2/built-in.o: In function `omap2_common_pm_late_init':
arch/arm/mach-omap2/pm.c:294: undefined reference to `omap_voltage_late_init' arch/arm/mach-omap2/built-in.o: In function `omap2_gpio_dev_init':
arch/arm/mach-omap2/gpio.c:133: undefined reference to `pwrdm_can_ever_lose_context'

We can avoid this if we make CONFIG_ARCH_OMAP2PLUS a silent option that
gets enabled any time that one of the SoC versions is enabled.

Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2013-07-05 23:07:40 +02:00
..
boot ARM: tegra: fix VBUS regulator GPIO polarity in DT 2013-07-03 14:40:40 +02:00
common ARM: edma: Add EDMA crossbar event mux support 2013-06-24 14:08:34 +05:30
configs ARM: OMAP: build mach-omap code only if needed 2013-07-05 23:07:40 +02:00
crypto ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling 2013-05-22 22:01:35 +01:00
include ARM SoC late changes 2013-07-02 14:42:51 -07:00
kernel ARM SoC specific changes 2013-07-02 13:43:38 -07:00
kvm ARM: KVM: be more thorough when invalidating TLBs 2013-06-03 10:58:56 +03:00
lib
mach-at91 ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-bcm ARM: bcm281xx: Remove init_irq declaration in machine description 2013-05-14 09:48:40 -07:00
mach-bcm2835
mach-clps711x ARM: clps711x: Add support for SYSCON driver 2013-06-11 15:47:45 -07:00
mach-cns3xxx ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
mach-davinci ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-dove ARM: dove: move DT boards to SoC-centric clock init 2013-05-29 19:21:05 +00:00
mach-ebsa110
mach-ep93xx
mach-exynos ARM SoC late changes 2013-07-02 14:42:51 -07:00
mach-footbridge
mach-gemini ARM: arm-soc cleanup for 3.10 2013-05-02 09:03:55 -07:00
mach-highbank ARM: highbank: remove the .map_io declaration 2013-05-24 10:23:05 +02:00
mach-imx ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-integrator ARM: integrator: let pciv3 use mem/premem from device tree 2013-06-27 14:19:54 +02:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx Finally eradicate CONFIG_HOTPLUG 2013-06-03 14:20:18 -07:00
mach-keystone ARM: keystone: Move CPU bringup code to dedicated asm file 2013-06-24 16:23:36 +02:00
mach-kirkwood ARM SoC board specific changes 2013-07-02 14:10:26 -07:00
mach-ks8695
mach-lpc32xx
mach-mmp ARM: arm-soc board specific changes for 3.10, part 1 2013-05-04 12:34:30 -07:00
mach-msm ARM SoC late changes 2013-07-02 14:42:51 -07:00
mach-mv78xx0 arm: mach-mv78xx0: convert to use the mvebu-mbus driver 2013-04-15 14:06:39 +00:00
mach-mvebu mvebu register map changes for v3.11 (round 2) 2013-06-21 20:00:08 +02:00
mach-mxs ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-netx
mach-nomadik ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-nspire arm: Add Initial TI-Nspire support 2013-06-21 20:06:30 +02:00
mach-omap1 ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
mach-omap2 ARM: OMAP: build mach-omap code only if needed 2013-07-05 23:07:40 +02:00
mach-orion5x ARM: Orion: Remove redundant init_dma_coherent_pool_size() 2013-05-13 19:35:39 +00:00
mach-picoxcell ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-prima2 ARM SoC cleanups 2013-07-02 13:25:35 -07:00
mach-pxa - Lots of cleanups from Artem, including deletion of some obsolete drivers 2013-05-09 10:15:46 -07:00
mach-realview Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-05-03 09:13:19 -07:00
mach-rockchip arm: add basic support for Rockchip RK3066a boards 2013-06-21 09:21:02 +02:00
mach-rpc
mach-s3c24xx ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
mach-s3c64xx ARM: SAMSUNG: Let platforms use the new watchdog reset driver 2013-06-19 03:13:16 +09:00
mach-s5p64x0 ARM: s5p64x0: avoid build warning for uncompress.h 2013-06-20 17:31:50 +02:00
mach-s5pc100 ARM: SAMSUNG: Let platforms use the new watchdog reset driver 2013-06-19 03:13:16 +09:00
mach-s5pv210 ARM: SAMSUNG: Consolidate uncompress subroutine 2013-06-19 02:22:18 +09:00
mach-sa1100
mach-shark
mach-shmobile Renesas ARM based SoC fixes for v3.11 2013-07-03 14:39:34 +02:00
mach-socfpga Adds basic support for Rockchip Cortex-A9 SoCs. 2013-06-21 11:46:56 +02:00
mach-spear ARM: spear: Remove init_irq declaration in machine description 2013-05-24 10:12:51 +02:00
mach-sti ARM: sti: Add STiH416 SOC support 2013-06-25 13:26:58 -07:00
mach-sunxi ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-tegra ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-u300 ARM: u300: only build for ARCH_MULTI_V5 2013-06-20 12:20:47 +02:00
mach-ux500 ARM SoC late changes 2013-07-02 14:42:51 -07:00
mach-versatile
mach-vexpress ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-virt ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-vt8500 Cleanups in various machine definitions 2013-05-31 22:08:11 -07:00
mach-w90x900
mach-zynq ARM: zynq: use DT_MACHINE_START 2013-07-05 23:07:39 +02:00
mm ARM SoC specific changes 2013-07-02 13:43:38 -07:00
net
nwfpe
oprofile
plat-iop
plat-omap ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
plat-orion ARM: plat-orion: Fix num_resources and id for ge10 and ge11 2013-05-20 17:39:07 +00:00
plat-pxa
plat-samsung ARM SoC late changes 2013-07-02 14:42:51 -07:00
plat-versatile
tools
vfp ARM: 7729/1: vfp: ensure VFP_arch is non-zero when VFP is not supported 2013-05-22 22:01:37 +01:00
xen xen/arm: rename xen_secondary_init and run it on every online cpu 2013-05-13 16:14:25 +00:00
Kconfig ARM SoC late changes 2013-07-02 14:42:51 -07:00
Kconfig-nommu ARM: ARMv7-M: Allow the building of new kernel port 2013-04-17 21:45:09 +02:00
Kconfig.debug ARM SoC late changes 2013-07-02 14:42:51 -07:00
Makefile ARM SoC late changes 2013-07-02 14:42:51 -07:00