[PATCH 2/3] ARM: allow MULTIPLATFORM on no-MMU machines

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Sep 30 05:49:36 EDT 2013


There is no technical reason to not use the benefits of MULTIPLATFORM on a
no-MMU machine and my not-yet-mainline efm32 port does work just fine with
it. So drop the dependency.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 arch/arm/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0f63a70..d873a34 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -296,8 +296,7 @@ choice
 
 config ARCH_MULTIPLATFORM
 	bool "Allow multiple platforms to be selected"
-	depends on MMU
-	select ARM_PATCH_PHYS_VIRT
+	select ARM_PATCH_PHYS_VIRT if MMU && !XIP_KERNEL
 	select AUTO_ZRELADDR
 	select COMMON_CLK
 	select MULTI_IRQ_HANDLER
-- 
1.8.4.rc3




More information about the linux-arm-kernel mailing list