瀏覽代碼

[ARM] Make !MMU CPUs depend on !MMU

Don't offer non-MMU based CPUs for selection when CONFIG_MMU is
set.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 18 年之前
父節點
當前提交
6b237a355a
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      arch/arm/mm/Kconfig

+ 5 - 0
arch/arm/mm/Kconfig

@@ -28,6 +28,7 @@ config CPU_ARM610
 # ARM7TDMI
 config CPU_ARM7TDMI
 	bool "Support ARM7TDMI processor"
+	depends on !MMU
 	select CPU_32v4T
 	select CPU_ABRT_LV4T
 	select CPU_CACHE_V4
@@ -78,6 +79,7 @@ config CPU_ARM720T
 # ARM740T
 config CPU_ARM740T
 	bool "Support ARM740T processor" if ARCH_INTEGRATOR
+	depends on !MMU
 	select CPU_32v4T
 	select CPU_ABRT_LV4T
 	select CPU_CACHE_V3	# although the core is v4t
@@ -93,6 +95,7 @@ config CPU_ARM740T
 # ARM9TDMI
 config CPU_ARM9TDMI
 	bool "Support ARM9TDMI processor"
+	depends on !MMU
 	select CPU_32v4T
 	select CPU_ABRT_EV4T
 	select CPU_CACHE_V4
@@ -187,6 +190,7 @@ config CPU_ARM926T
 # ARM940T
 config CPU_ARM940T
 	bool "Support ARM940T processor" if ARCH_INTEGRATOR
+	depends on !MMU
 	select CPU_32v4T
 	select CPU_ABRT_EV4T
 	select CPU_CACHE_VIVT
@@ -203,6 +207,7 @@ config CPU_ARM940T
 # ARM946E-S
 config CPU_ARM946E
 	bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
+	depends on !MMU
 	select CPU_32v5
 	select CPU_ABRT_EV5T
 	select CPU_CACHE_VIVT