aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-25 03:26:10 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-26 02:35:24 -0400
commitac79fd58a25dbd9848f2c2857da6a79494dabb9a (patch)
tree833dd6ad0d462f88183d1da9994e26097a2323d5 /arch/sh/mm
parentb067c50a7f58838d8a53670ea3c07e18d7391900 (diff)
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/Kconfig3
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
27config CPU_SH4AL_DSP 27config CPU_SH4AL_DSP
28 bool 28 bool
29 select CPU_SH4A 29 select CPU_SH4A
30 select CPU_HAS_DSP
30 31
31config CPU_SUBTYPE_ST40 32config CPU_SUBTYPE_ST40
32 bool 33 bool
@@ -102,6 +103,7 @@ config CPU_SUBTYPE_SH7710
102 bool "Support SH7710 processor" 103 bool "Support SH7710 processor"
103 select CPU_SH3 104 select CPU_SH3
104 select CPU_HAS_IPR_IRQ 105 select CPU_HAS_IPR_IRQ
106 select CPU_HAS_DSP
105 help 107 help
106 Select SH7710 if you have a SH3-DSP SH7710 CPU. 108 Select SH7710 if you have a SH3-DSP SH7710 CPU.
107 109
@@ -109,6 +111,7 @@ config CPU_SUBTYPE_SH7712
109 bool "Support SH7712 processor" 111 bool "Support SH7712 processor"
110 select CPU_SH3 112 select CPU_SH3
111 select CPU_HAS_IPR_IRQ 113 select CPU_HAS_IPR_IRQ
114 select CPU_HAS_DSP
112 help 115 help
113 Select SH7712 if you have a SH3-DSP SH7712 CPU. 116 Select SH7712 if you have a SH3-DSP SH7712 CPU.
114 117