public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH] Disable MC68000 cpu target when MMU is selected
@ 2012-10-25 20:01 Luis Alves
  2012-10-25 23:31 ` Greg Ungerer
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Alves @ 2012-10-25 20:01 UTC (permalink / raw)
  To: uclinux-dev, linux-m68k; +Cc: gerg, ljalvs

Hi,

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

Regards,
Luis


Signed-off-by: Luis Alves <ljalvs@gmail.com>
---
 arch/m68k/Kconfig.cpu |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index aad3b0b..6708fa4 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Disable MC68000 cpu target when MMU is selected
  2012-10-25 20:01 [PATCH] Disable MC68000 cpu target when MMU is selected Luis Alves
@ 2012-10-25 23:31 ` Greg Ungerer
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2012-10-25 23:31 UTC (permalink / raw)
  To: Luis Alves; +Cc: uclinux-dev, linux-m68k

Hi Luis,

On 26/10/12 06:01, Luis Alves wrote:
> 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


>
> Signed-off-by: Luis Alves <ljalvs@gmail.com>
> ---
>   arch/m68k/Kconfig.cpu |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
> index aad3b0b..6708fa4 100644
> --- a/arch/m68k/Kconfig.cpu
> +++ b/arch/m68k/Kconfig.cpu
> @@ -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
>


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@snapgear.com
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-25 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 20:01 [PATCH] Disable MC68000 cpu target when MMU is selected Luis Alves
2012-10-25 23:31 ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox