Commit 0e6782c8 authored by Greg Ungerer's avatar Greg Ungerer

m68k: compile appropriate mm arch files for ColdFire MMU support

Create a config symbol to enable when using a ColdFire MMU. We then
use that to only compile the necessary arch mm files.
Signed-off-by: default avatarGreg Ungerer <>
Acked-by: default avatarGeert Uytterhoeven <>
Acked-by: default avatarMatt Waddel <>
Acked-by: default avatarKurt Mahan <>
parent 066bf87b
...@@ -88,9 +88,12 @@ config MMU ...@@ -88,9 +88,12 @@ config MMU
bool bool
config MMU_SUN3 config MMU_SUN3
bool bool
depends on MMU && !MMU_MOTOROLA depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
menu "Platform setup" menu "Platform setup"
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
obj-y := init.o obj-y := init.o
obj-$(CONFIG_MMU) += cache.o fault.o hwtest.o obj-$(CONFIG_MMU) += cache.o fault.o
obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o hwtest.o
obj-$(CONFIG_MMU_SUN3) += sun3kmap.o sun3mmu.o obj-$(CONFIG_MMU_SUN3) += sun3kmap.o sun3mmu.o hwtest.o
obj-$(CONFIG_MMU_COLDFIRE) += kmap.o memory.o mcfmmu.o
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment