Skip to content

Commit

Permalink
sh: Disable PMB for SH4AL-DSP CPUs.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Jan 4, 2010
1 parent 8152a74 commit b4e2a2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -96,15 +96,15 @@ 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
29-bit physical addressing will be used.

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
Expand Down

0 comments on commit b4e2a2a

Please sign in to comment.