linux_dsm_epyc7002/arch
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
..
alpha TTY/Serial merge for 3.11-rc1 2013-07-02 11:32:06 -07:00
arc consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
arm ARM: OMAP: build mach-omap code only if needed 2013-07-05 23:07:40 +02:00
arm64 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-02 09:28:37 -07:00
avr32 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
blackfin Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
c6x consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
cris Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
frv consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
h8300 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
hexagon consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
ia64 Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
m32r consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
m68k consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
metag Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-02 09:28:37 -07:00
microblaze consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
mips Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
mn10300 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-02 09:28:37 -07:00
openrisc consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
parisc Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
powerpc Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
s390 Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
score consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
sh Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
sparc Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
tile Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-07-02 09:28:37 -07:00
um consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
unicore32 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
x86 Driver core patches for 3.11-rc1 2013-07-02 11:44:19 -07:00
xtensa consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
.gitignore
Kconfig Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-05-15 14:04:00 -07:00