diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/Kconfig | 7 | ||||
-rw-r--r-- | arch/sh/mm/Kconfig | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 2aad2ff39a2f..0a631d0f75f1 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -134,8 +134,8 @@ config SH_FPU_EMU | |||
134 | 134 | ||
135 | config SH_DSP | 135 | config SH_DSP |
136 | bool "DSP support" | 136 | bool "DSP support" |
137 | default y if SH4AL_DSP || !CPU_SH4 | 137 | depends on CPU_HAS_DSP |
138 | default n | 138 | default y |
139 | help | 139 | help |
140 | Selecting this option will enable support for SH processors that | 140 | Selecting this option will enable support for SH processors that |
141 | have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP). | 141 | have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP). |
@@ -199,6 +199,9 @@ config CPU_HAS_SR_RB | |||
199 | config CPU_HAS_PTEA | 199 | config CPU_HAS_PTEA |
200 | bool | 200 | bool |
201 | 201 | ||
202 | config CPU_HAS_DSP | ||
203 | bool | ||
204 | |||
202 | endmenu | 205 | endmenu |
203 | 206 | ||
204 | menu "Board support" | 207 | menu "Board support" |
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 | |||
27 | config CPU_SH4AL_DSP | 27 | config CPU_SH4AL_DSP |
28 | bool | 28 | bool |
29 | select CPU_SH4A | 29 | select CPU_SH4A |
30 | select CPU_HAS_DSP | ||
30 | 31 | ||
31 | config CPU_SUBTYPE_ST40 | 32 | config 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 | ||