diff options
author | Magnus Damm <damm@opensource.se> | 2014-02-20 06:54:47 -0500 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-03-11 18:05:13 -0400 |
commit | fbfa893458edb0daf18a0add33d3341b1e9f6d44 (patch) | |
tree | 68cba2b7102fdd1a767244c223487e9ad82fed13 /arch/sh/Kconfig | |
parent | aeb8fb7910fc7344d0ee0c9306eb45f11327c600 (diff) |
sh: Remove Kconfig entries for TMU, CMT and MTU2
Now when drivers/clocksource/Kconfig has been
updated with entires for CMT, TMU and MTU2
it is safe to remove these from SH.
Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 76 |
1 files changed, 23 insertions, 53 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 6357710753d5..364d204298fa 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -123,15 +123,6 @@ config SYS_SUPPORTS_NUMA | |||
123 | config SYS_SUPPORTS_PCI | 123 | config SYS_SUPPORTS_PCI |
124 | bool | 124 | bool |
125 | 125 | ||
126 | config SYS_SUPPORTS_CMT | ||
127 | bool | ||
128 | |||
129 | config SYS_SUPPORTS_MTU2 | ||
130 | bool | ||
131 | |||
132 | config SYS_SUPPORTS_TMU | ||
133 | bool | ||
134 | |||
135 | config STACKTRACE_SUPPORT | 126 | config STACKTRACE_SUPPORT |
136 | def_bool y | 127 | def_bool y |
137 | 128 | ||
@@ -191,14 +182,14 @@ config CPU_SH3 | |||
191 | bool | 182 | bool |
192 | select CPU_HAS_INTEVT | 183 | select CPU_HAS_INTEVT |
193 | select CPU_HAS_SR_RB | 184 | select CPU_HAS_SR_RB |
194 | select SYS_SUPPORTS_TMU | 185 | select SYS_SUPPORTS_SH_TMU |
195 | 186 | ||
196 | config CPU_SH4 | 187 | config CPU_SH4 |
197 | bool | 188 | bool |
198 | select CPU_HAS_INTEVT | 189 | select CPU_HAS_INTEVT |
199 | select CPU_HAS_SR_RB | 190 | select CPU_HAS_SR_RB |
200 | select CPU_HAS_FPU if !CPU_SH4AL_DSP | 191 | select CPU_HAS_FPU if !CPU_SH4AL_DSP |
201 | select SYS_SUPPORTS_TMU | 192 | select SYS_SUPPORTS_SH_TMU |
202 | select SYS_SUPPORTS_HUGETLBFS if MMU | 193 | select SYS_SUPPORTS_HUGETLBFS if MMU |
203 | 194 | ||
204 | config CPU_SH4A | 195 | config CPU_SH4A |
@@ -213,7 +204,7 @@ config CPU_SH4AL_DSP | |||
213 | config CPU_SH5 | 204 | config CPU_SH5 |
214 | bool | 205 | bool |
215 | select CPU_HAS_FPU | 206 | select CPU_HAS_FPU |
216 | select SYS_SUPPORTS_TMU | 207 | select SYS_SUPPORTS_SH_TMU |
217 | select SYS_SUPPORTS_HUGETLBFS if MMU | 208 | select SYS_SUPPORTS_HUGETLBFS if MMU |
218 | 209 | ||
219 | config CPU_SHX2 | 210 | config CPU_SHX2 |
@@ -250,7 +241,7 @@ choice | |||
250 | config CPU_SUBTYPE_SH7619 | 241 | config CPU_SUBTYPE_SH7619 |
251 | bool "Support SH7619 processor" | 242 | bool "Support SH7619 processor" |
252 | select CPU_SH2 | 243 | select CPU_SH2 |
253 | select SYS_SUPPORTS_CMT | 244 | select SYS_SUPPORTS_SH_CMT |
254 | 245 | ||
255 | # SH-2A Processor Support | 246 | # SH-2A Processor Support |
256 | 247 | ||
@@ -258,50 +249,50 @@ config CPU_SUBTYPE_SH7201 | |||
258 | bool "Support SH7201 processor" | 249 | bool "Support SH7201 processor" |
259 | select CPU_SH2A | 250 | select CPU_SH2A |
260 | select CPU_HAS_FPU | 251 | select CPU_HAS_FPU |
261 | select SYS_SUPPORTS_MTU2 | 252 | select SYS_SUPPORTS_SH_MTU2 |
262 | 253 | ||
263 | config CPU_SUBTYPE_SH7203 | 254 | config CPU_SUBTYPE_SH7203 |
264 | bool "Support SH7203 processor" | 255 | bool "Support SH7203 processor" |
265 | select CPU_SH2A | 256 | select CPU_SH2A |
266 | select CPU_HAS_FPU | 257 | select CPU_HAS_FPU |
267 | select SYS_SUPPORTS_CMT | 258 | select SYS_SUPPORTS_SH_CMT |
268 | select SYS_SUPPORTS_MTU2 | 259 | select SYS_SUPPORTS_SH_MTU2 |
269 | select ARCH_WANT_OPTIONAL_GPIOLIB | 260 | select ARCH_WANT_OPTIONAL_GPIOLIB |
270 | select PINCTRL | 261 | select PINCTRL |
271 | 262 | ||
272 | config CPU_SUBTYPE_SH7206 | 263 | config CPU_SUBTYPE_SH7206 |
273 | bool "Support SH7206 processor" | 264 | bool "Support SH7206 processor" |
274 | select CPU_SH2A | 265 | select CPU_SH2A |
275 | select SYS_SUPPORTS_CMT | 266 | select SYS_SUPPORTS_SH_CMT |
276 | select SYS_SUPPORTS_MTU2 | 267 | select SYS_SUPPORTS_SH_MTU2 |
277 | 268 | ||
278 | config CPU_SUBTYPE_SH7263 | 269 | config CPU_SUBTYPE_SH7263 |
279 | bool "Support SH7263 processor" | 270 | bool "Support SH7263 processor" |
280 | select CPU_SH2A | 271 | select CPU_SH2A |
281 | select CPU_HAS_FPU | 272 | select CPU_HAS_FPU |
282 | select SYS_SUPPORTS_CMT | 273 | select SYS_SUPPORTS_SH_CMT |
283 | select SYS_SUPPORTS_MTU2 | 274 | select SYS_SUPPORTS_SH_MTU2 |
284 | 275 | ||
285 | config CPU_SUBTYPE_SH7264 | 276 | config CPU_SUBTYPE_SH7264 |
286 | bool "Support SH7264 processor" | 277 | bool "Support SH7264 processor" |
287 | select CPU_SH2A | 278 | select CPU_SH2A |
288 | select CPU_HAS_FPU | 279 | select CPU_HAS_FPU |
289 | select SYS_SUPPORTS_CMT | 280 | select SYS_SUPPORTS_SH_CMT |
290 | select SYS_SUPPORTS_MTU2 | 281 | select SYS_SUPPORTS_SH_MTU2 |
291 | select PINCTRL | 282 | select PINCTRL |
292 | 283 | ||
293 | config CPU_SUBTYPE_SH7269 | 284 | config CPU_SUBTYPE_SH7269 |
294 | bool "Support SH7269 processor" | 285 | bool "Support SH7269 processor" |
295 | select CPU_SH2A | 286 | select CPU_SH2A |
296 | select CPU_HAS_FPU | 287 | select CPU_HAS_FPU |
297 | select SYS_SUPPORTS_CMT | 288 | select SYS_SUPPORTS_SH_CMT |
298 | select SYS_SUPPORTS_MTU2 | 289 | select SYS_SUPPORTS_SH_MTU2 |
299 | select PINCTRL | 290 | select PINCTRL |
300 | 291 | ||
301 | config CPU_SUBTYPE_MXG | 292 | config CPU_SUBTYPE_MXG |
302 | bool "Support MX-G processor" | 293 | bool "Support MX-G processor" |
303 | select CPU_SH2A | 294 | select CPU_SH2A |
304 | select SYS_SUPPORTS_MTU2 | 295 | select SYS_SUPPORTS_SH_MTU2 |
305 | help | 296 | help |
306 | Select MX-G if running on an R8A03022BG part. | 297 | Select MX-G if running on an R8A03022BG part. |
307 | 298 | ||
@@ -354,7 +345,7 @@ config CPU_SUBTYPE_SH7720 | |||
354 | bool "Support SH7720 processor" | 345 | bool "Support SH7720 processor" |
355 | select CPU_SH3 | 346 | select CPU_SH3 |
356 | select CPU_HAS_DSP | 347 | select CPU_HAS_DSP |
357 | select SYS_SUPPORTS_CMT | 348 | select SYS_SUPPORTS_SH_CMT |
358 | select ARCH_WANT_OPTIONAL_GPIOLIB | 349 | select ARCH_WANT_OPTIONAL_GPIOLIB |
359 | select USB_ARCH_HAS_OHCI | 350 | select USB_ARCH_HAS_OHCI |
360 | select USB_OHCI_SH if USB_OHCI_HCD | 351 | select USB_OHCI_SH if USB_OHCI_HCD |
@@ -366,7 +357,7 @@ config CPU_SUBTYPE_SH7721 | |||
366 | bool "Support SH7721 processor" | 357 | bool "Support SH7721 processor" |
367 | select CPU_SH3 | 358 | select CPU_SH3 |
368 | select CPU_HAS_DSP | 359 | select CPU_HAS_DSP |
369 | select SYS_SUPPORTS_CMT | 360 | select SYS_SUPPORTS_SH_CMT |
370 | select USB_ARCH_HAS_OHCI | 361 | select USB_ARCH_HAS_OHCI |
371 | select USB_OHCI_SH if USB_OHCI_HCD | 362 | select USB_OHCI_SH if USB_OHCI_HCD |
372 | help | 363 | help |
@@ -422,7 +413,7 @@ config CPU_SUBTYPE_SH7723 | |||
422 | select CPU_SHX2 | 413 | select CPU_SHX2 |
423 | select ARCH_SHMOBILE | 414 | select ARCH_SHMOBILE |
424 | select ARCH_SPARSEMEM_ENABLE | 415 | select ARCH_SPARSEMEM_ENABLE |
425 | select SYS_SUPPORTS_CMT | 416 | select SYS_SUPPORTS_SH_CMT |
426 | select ARCH_WANT_OPTIONAL_GPIOLIB | 417 | select ARCH_WANT_OPTIONAL_GPIOLIB |
427 | select PINCTRL | 418 | select PINCTRL |
428 | help | 419 | help |
@@ -434,7 +425,7 @@ config CPU_SUBTYPE_SH7724 | |||
434 | select CPU_SHX2 | 425 | select CPU_SHX2 |
435 | select ARCH_SHMOBILE | 426 | select ARCH_SHMOBILE |
436 | select ARCH_SPARSEMEM_ENABLE | 427 | select ARCH_SPARSEMEM_ENABLE |
437 | select SYS_SUPPORTS_CMT | 428 | select SYS_SUPPORTS_SH_CMT |
438 | select ARCH_WANT_OPTIONAL_GPIOLIB | 429 | select ARCH_WANT_OPTIONAL_GPIOLIB |
439 | select PINCTRL | 430 | select PINCTRL |
440 | help | 431 | help |
@@ -514,7 +505,7 @@ config CPU_SUBTYPE_SH7343 | |||
514 | bool "Support SH7343 processor" | 505 | bool "Support SH7343 processor" |
515 | select CPU_SH4AL_DSP | 506 | select CPU_SH4AL_DSP |
516 | select ARCH_SHMOBILE | 507 | select ARCH_SHMOBILE |
517 | select SYS_SUPPORTS_CMT | 508 | select SYS_SUPPORTS_SH_CMT |
518 | 509 | ||
519 | config CPU_SUBTYPE_SH7722 | 510 | config CPU_SUBTYPE_SH7722 |
520 | bool "Support SH7722 processor" | 511 | bool "Support SH7722 processor" |
@@ -523,7 +514,7 @@ config CPU_SUBTYPE_SH7722 | |||
523 | select ARCH_SHMOBILE | 514 | select ARCH_SHMOBILE |
524 | select ARCH_SPARSEMEM_ENABLE | 515 | select ARCH_SPARSEMEM_ENABLE |
525 | select SYS_SUPPORTS_NUMA | 516 | select SYS_SUPPORTS_NUMA |
526 | select SYS_SUPPORTS_CMT | 517 | select SYS_SUPPORTS_SH_CMT |
527 | select ARCH_WANT_OPTIONAL_GPIOLIB | 518 | select ARCH_WANT_OPTIONAL_GPIOLIB |
528 | select PINCTRL | 519 | select PINCTRL |
529 | 520 | ||
@@ -534,7 +525,7 @@ config CPU_SUBTYPE_SH7366 | |||
534 | select ARCH_SHMOBILE | 525 | select ARCH_SHMOBILE |
535 | select ARCH_SPARSEMEM_ENABLE | 526 | select ARCH_SPARSEMEM_ENABLE |
536 | select SYS_SUPPORTS_NUMA | 527 | select SYS_SUPPORTS_NUMA |
537 | select SYS_SUPPORTS_CMT | 528 | select SYS_SUPPORTS_SH_CMT |
538 | 529 | ||
539 | endchoice | 530 | endchoice |
540 | 531 | ||
@@ -567,27 +558,6 @@ source "arch/sh/boards/Kconfig" | |||
567 | 558 | ||
568 | menu "Timer and clock configuration" | 559 | menu "Timer and clock configuration" |
569 | 560 | ||
570 | config SH_TIMER_TMU | ||
571 | bool "TMU timer driver" | ||
572 | depends on SYS_SUPPORTS_TMU | ||
573 | default y | ||
574 | help | ||
575 | This enables the build of the TMU timer driver. | ||
576 | |||
577 | config SH_TIMER_CMT | ||
578 | bool "CMT timer driver" | ||
579 | depends on SYS_SUPPORTS_CMT | ||
580 | default y | ||
581 | help | ||
582 | This enables build of the CMT timer driver. | ||
583 | |||
584 | config SH_TIMER_MTU2 | ||
585 | bool "MTU2 timer driver" | ||
586 | depends on SYS_SUPPORTS_MTU2 | ||
587 | default y | ||
588 | help | ||
589 | This enables build of the MTU2 timer driver. | ||
590 | |||
591 | config SH_PCLK_FREQ | 561 | config SH_PCLK_FREQ |
592 | int "Peripheral clock frequency (in Hz)" | 562 | int "Peripheral clock frequency (in Hz)" |
593 | depends on SH_CLK_CPG_LEGACY | 563 | depends on SH_CLK_CPG_LEGACY |