diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-07-23 15:37:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-07-24 09:29:13 -0400 |
commit | 91942d17667a7e7976d3e8bc2f18a34c12bed9fc (patch) | |
tree | d081d1f4f5e3f02488c2f5096718555141448efc /arch | |
parent | 8cf2389bc4456057a4d9663d22429fb677f1b13e (diff) |
ARM: 8112/1: only select ARM_PATCH_PHYS_VIRT if MMU is enabled
This fixes the following warning:
warning: (ARCH_MULTIPLATFORM && ARCH_INTEGRATOR && ARCH_SHMOBILE_LEGACY) selects ARM_PATCH_PHYS_VIRT which has unmet direct dependencies (!XIP_KERNEL && MMU && (!ARCH_REALVIEW || !SPARSEMEM))
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 245058b3b0ef..7a14af6e3d2c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -312,7 +312,7 @@ config ARCH_MULTIPLATFORM | |||
312 | config ARCH_INTEGRATOR | 312 | config ARCH_INTEGRATOR |
313 | bool "ARM Ltd. Integrator family" | 313 | bool "ARM Ltd. Integrator family" |
314 | select ARM_AMBA | 314 | select ARM_AMBA |
315 | select ARM_PATCH_PHYS_VIRT | 315 | select ARM_PATCH_PHYS_VIRT if MMU |
316 | select AUTO_ZRELADDR | 316 | select AUTO_ZRELADDR |
317 | select COMMON_CLK | 317 | select COMMON_CLK |
318 | select COMMON_CLK_VERSATILE | 318 | select COMMON_CLK_VERSATILE |
@@ -658,7 +658,7 @@ config ARCH_MSM | |||
658 | config ARCH_SHMOBILE_LEGACY | 658 | config ARCH_SHMOBILE_LEGACY |
659 | bool "Renesas ARM SoCs (non-multiplatform)" | 659 | bool "Renesas ARM SoCs (non-multiplatform)" |
660 | select ARCH_SHMOBILE | 660 | select ARCH_SHMOBILE |
661 | select ARM_PATCH_PHYS_VIRT | 661 | select ARM_PATCH_PHYS_VIRT if MMU |
662 | select CLKDEV_LOOKUP | 662 | select CLKDEV_LOOKUP |
663 | select GENERIC_CLOCKEVENTS | 663 | select GENERIC_CLOCKEVENTS |
664 | select HAVE_ARM_SCU if SMP | 664 | select HAVE_ARM_SCU if SMP |