Skip to contentSkip to conversation

Disable MC68000 cpu target when MMU is selected

PATCH In review Luis Alves 2 participants 2 messages Oct 25, 2012 m68k architecture

lore
Share & tools
lore

Luis Alves

author
#0 lore raw

PATCH 1/1 Disable MC68000 cpu target when MMU is selected

Hi,

As pointed out by Geert, MC68000 target needs to be disabled when
MMU support is enabled.

Regards,
Luis

---
 arch/m68k/Kconfig.cpu |    1 +
 1 file changed, 1 insertion(+)
arch/m68k/Kconfig.cpu +1 -0
index aad3b0b..6708fa4 100644
@@ -36,6 +36,7 @@ if M68KCLASSIC
 
 config M68000
 	bool "MC68000"
+	depends on !MMU
 	select CPU_HAS_NO_BITFIELDS
 	select CPU_HAS_NO_MULDIV64
 	select CPU_HAS_NO_UNALIGNED
Signature · 1 line
1.7.10.4
#1 lore raw

Hi Luis,

Quoted 2 lines · Luis Alves

As pointed out by Geert, MC68000 target needs to be disabled when
MMU support is enabled.

Thanks, I have applied to m68knommu git tree.

Regards
Greg

Quoted 19 lines
---
  arch/m68k/Kconfig.cpu |    1 +
  1 file changed, 1 insertion(+)
arch/m68k/Kconfig.cpu +1 -0
index aad3b0b..6708fa4 100644
@@ -36,6 +36,7 @@ if M68KCLASSIC
 
  config M68000
  	bool "MC68000"
+	depends on !MMU
  	select CPU_HAS_NO_BITFIELDS
  	select CPU_HAS_NO_MULDIV64
  	select CPU_HAS_NO_UNALIGNED
Signature · 5 lines
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     [email protected]
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com