diff options
author | Paul Mundt | 2007-07-25 09:26:10 +0200 |
---|---|---|
committer | Paul Mundt | 2007-07-26 08:35:24 +0200 |
commit | ac79fd58a25dbd9848f2c2857da6a79494dabb9a (patch) | |
tree | 833dd6ad0d462f88183d1da9994e26097a2323d5 /arch/sh/mm | |
parent | sh: Silence sq compile warning on sh4 nommu. (diff) | |
download | kernel-qcow2-linux-ac79fd58a25dbd9848f2c2857da6a79494dabb9a.tar.gz kernel-qcow2-linux-ac79fd58a25dbd9848f2c2857da6a79494dabb9a.tar.xz kernel-qcow2-linux-ac79fd58a25dbd9848f2c2857da6a79494dabb9a.zip |
sh: Restrict DSP support to specific CPUs.
Not all CPUs support the DSP, and this leads to problems when mixing
and matching CPU types and DSP opcodes. Fix this up by only allowing
CONFIG_SH_DSP to be enabled for the CPUs that explicitly have such a
block.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 03f7b988d5dd..ff67422c8dcb 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig @@ -27,6 +27,7 @@ config CPU_SH4A config CPU_SH4AL_DSP bool select CPU_SH4A + select CPU_HAS_DSP config CPU_SUBTYPE_ST40 bool @@ -102,6 +103,7 @@ config CPU_SUBTYPE_SH7710 bool "Support SH7710 processor" select CPU_SH3 select CPU_HAS_IPR_IRQ + select CPU_HAS_DSP help Select SH7710 if you have a SH3-DSP SH7710 CPU. @@ -109,6 +111,7 @@ config CPU_SUBTYPE_SH7712 bool "Support SH7712 processor" select CPU_SH3 select CPU_HAS_IPR_IRQ + select CPU_HAS_DSP help Select SH7712 if you have a SH3-DSP SH7712 CPU. |