OSDN Git Service

sh: Disable PMB for SH4AL-DSP CPUs.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jan 2010 02:13:54 +0000 (11:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jan 2010 02:13:54 +0000 (11:13 +0900)
While the PMB is available on SH-4A parts, SH4AL-DSP parts exclude it
altogether. As such, explicitly disable PMB support for these parts. If
this changes in the future for newer subtypes, this will have to be made
more fine-grained.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/Kconfig

index 0e7ba8e..191d6d8 100644 (file)
@@ -82,7 +82,7 @@ config 32BIT
 
 config PMB_ENABLE
        bool "Support 32-bit physical addressing through PMB"
-       depends on MMU && EXPERIMENTAL && CPU_SH4A
+       depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP
        default y
        help
          If you say Y here, physical addressing will be extended to
@@ -96,7 +96,7 @@ choice
 
 config PMB
        bool "PMB"
-       depends on MMU && EXPERIMENTAL && CPU_SH4A
+       depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP
        help
          If you say Y here, physical addressing will be extended to
          32-bits through the SH-4A PMB. If this is not set, legacy
@@ -104,7 +104,7 @@ config PMB
 
 config PMB_FIXED
        bool "fixed PMB"
-       depends on MMU && EXPERIMENTAL && CPU_SH4A
+       depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP
        select 32BIT
        help
          If this option is enabled, fixed PMB mappings are inherited