Commit fbfa8934 authored by Magnus Damm's avatar Magnus Damm Committed by Daniel Lezcano

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: default avatarMagnus Damm <damm@opensource.se>
Acked-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarWolfram Sang <wsa@sang-engineering.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent aeb8fb79
...@@ -123,15 +123,6 @@ config SYS_SUPPORTS_NUMA ...@@ -123,15 +123,6 @@ config SYS_SUPPORTS_NUMA
config SYS_SUPPORTS_PCI config SYS_SUPPORTS_PCI
bool bool
config SYS_SUPPORTS_CMT
bool
config SYS_SUPPORTS_MTU2
bool
config SYS_SUPPORTS_TMU
bool
config STACKTRACE_SUPPORT config STACKTRACE_SUPPORT
def_bool y def_bool y
...@@ -191,14 +182,14 @@ config CPU_SH3 ...@@ -191,14 +182,14 @@ config CPU_SH3
bool bool
select CPU_HAS_INTEVT select CPU_HAS_INTEVT
select CPU_HAS_SR_RB select CPU_HAS_SR_RB
select SYS_SUPPORTS_TMU select SYS_SUPPORTS_SH_TMU
config CPU_SH4 config CPU_SH4
bool bool
select CPU_HAS_INTEVT select CPU_HAS_INTEVT
select CPU_HAS_SR_RB select CPU_HAS_SR_RB
select CPU_HAS_FPU if !CPU_SH4AL_DSP select CPU_HAS_FPU if !CPU_SH4AL_DSP
select SYS_SUPPORTS_TMU select SYS_SUPPORTS_SH_TMU
select SYS_SUPPORTS_HUGETLBFS if MMU select SYS_SUPPORTS_HUGETLBFS if MMU
config CPU_SH4A config CPU_SH4A
...@@ -213,7 +204,7 @@ config CPU_SH4AL_DSP ...@@ -213,7 +204,7 @@ config CPU_SH4AL_DSP
config CPU_SH5 config CPU_SH5
bool bool
select CPU_HAS_FPU select CPU_HAS_FPU
select SYS_SUPPORTS_TMU select SYS_SUPPORTS_SH_TMU
select SYS_SUPPORTS_HUGETLBFS if MMU select SYS_SUPPORTS_HUGETLBFS if MMU
config CPU_SHX2 config CPU_SHX2
...@@ -250,7 +241,7 @@ choice ...@@ -250,7 +241,7 @@ choice
config CPU_SUBTYPE_SH7619 config CPU_SUBTYPE_SH7619
bool "Support SH7619 processor" bool "Support SH7619 processor"
select CPU_SH2 select CPU_SH2
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
# SH-2A Processor Support # SH-2A Processor Support
...@@ -258,50 +249,50 @@ config CPU_SUBTYPE_SH7201 ...@@ -258,50 +249,50 @@ config CPU_SUBTYPE_SH7201
bool "Support SH7201 processor" bool "Support SH7201 processor"
select CPU_SH2A select CPU_SH2A
select CPU_HAS_FPU select CPU_HAS_FPU
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
config CPU_SUBTYPE_SH7203 config CPU_SUBTYPE_SH7203
bool "Support SH7203 processor" bool "Support SH7203 processor"
select CPU_SH2A select CPU_SH2A
select CPU_HAS_FPU select CPU_HAS_FPU
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_OPTIONAL_GPIOLIB
select PINCTRL select PINCTRL
config CPU_SUBTYPE_SH7206 config CPU_SUBTYPE_SH7206
bool "Support SH7206 processor" bool "Support SH7206 processor"
select CPU_SH2A select CPU_SH2A
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
config CPU_SUBTYPE_SH7263 config CPU_SUBTYPE_SH7263
bool "Support SH7263 processor" bool "Support SH7263 processor"
select CPU_SH2A select CPU_SH2A
select CPU_HAS_FPU select CPU_HAS_FPU
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
config CPU_SUBTYPE_SH7264 config CPU_SUBTYPE_SH7264
bool "Support SH7264 processor" bool "Support SH7264 processor"
select CPU_SH2A select CPU_SH2A
select CPU_HAS_FPU select CPU_HAS_FPU
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
select PINCTRL select PINCTRL
config CPU_SUBTYPE_SH7269 config CPU_SUBTYPE_SH7269
bool "Support SH7269 processor" bool "Support SH7269 processor"
select CPU_SH2A select CPU_SH2A
select CPU_HAS_FPU select CPU_HAS_FPU
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
select PINCTRL select PINCTRL
config CPU_SUBTYPE_MXG config CPU_SUBTYPE_MXG
bool "Support MX-G processor" bool "Support MX-G processor"
select CPU_SH2A select CPU_SH2A
select SYS_SUPPORTS_MTU2 select SYS_SUPPORTS_SH_MTU2
help help
Select MX-G if running on an R8A03022BG part. Select MX-G if running on an R8A03022BG part.
...@@ -354,7 +345,7 @@ config CPU_SUBTYPE_SH7720 ...@@ -354,7 +345,7 @@ config CPU_SUBTYPE_SH7720
bool "Support SH7720 processor" bool "Support SH7720 processor"
select CPU_SH3 select CPU_SH3
select CPU_HAS_DSP select CPU_HAS_DSP
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_OPTIONAL_GPIOLIB
select USB_ARCH_HAS_OHCI select USB_ARCH_HAS_OHCI
select USB_OHCI_SH if USB_OHCI_HCD select USB_OHCI_SH if USB_OHCI_HCD
...@@ -366,7 +357,7 @@ config CPU_SUBTYPE_SH7721 ...@@ -366,7 +357,7 @@ config CPU_SUBTYPE_SH7721
bool "Support SH7721 processor" bool "Support SH7721 processor"
select CPU_SH3 select CPU_SH3
select CPU_HAS_DSP select CPU_HAS_DSP
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select USB_ARCH_HAS_OHCI select USB_ARCH_HAS_OHCI
select USB_OHCI_SH if USB_OHCI_HCD select USB_OHCI_SH if USB_OHCI_HCD
help help
...@@ -422,7 +413,7 @@ config CPU_SUBTYPE_SH7723 ...@@ -422,7 +413,7 @@ config CPU_SUBTYPE_SH7723
select CPU_SHX2 select CPU_SHX2
select ARCH_SHMOBILE select ARCH_SHMOBILE
select ARCH_SPARSEMEM_ENABLE select ARCH_SPARSEMEM_ENABLE
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_OPTIONAL_GPIOLIB
select PINCTRL select PINCTRL
help help
...@@ -434,7 +425,7 @@ config CPU_SUBTYPE_SH7724 ...@@ -434,7 +425,7 @@ config CPU_SUBTYPE_SH7724
select CPU_SHX2 select CPU_SHX2
select ARCH_SHMOBILE select ARCH_SHMOBILE
select ARCH_SPARSEMEM_ENABLE select ARCH_SPARSEMEM_ENABLE
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_OPTIONAL_GPIOLIB
select PINCTRL select PINCTRL
help help
...@@ -514,7 +505,7 @@ config CPU_SUBTYPE_SH7343 ...@@ -514,7 +505,7 @@ config CPU_SUBTYPE_SH7343
bool "Support SH7343 processor" bool "Support SH7343 processor"
select CPU_SH4AL_DSP select CPU_SH4AL_DSP
select ARCH_SHMOBILE select ARCH_SHMOBILE
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
config CPU_SUBTYPE_SH7722 config CPU_SUBTYPE_SH7722
bool "Support SH7722 processor" bool "Support SH7722 processor"
...@@ -523,7 +514,7 @@ config CPU_SUBTYPE_SH7722 ...@@ -523,7 +514,7 @@ config CPU_SUBTYPE_SH7722
select ARCH_SHMOBILE select ARCH_SHMOBILE
select ARCH_SPARSEMEM_ENABLE select ARCH_SPARSEMEM_ENABLE
select SYS_SUPPORTS_NUMA select SYS_SUPPORTS_NUMA
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_OPTIONAL_GPIOLIB
select PINCTRL select PINCTRL
...@@ -534,7 +525,7 @@ config CPU_SUBTYPE_SH7366 ...@@ -534,7 +525,7 @@ config CPU_SUBTYPE_SH7366
select ARCH_SHMOBILE select ARCH_SHMOBILE
select ARCH_SPARSEMEM_ENABLE select ARCH_SPARSEMEM_ENABLE
select SYS_SUPPORTS_NUMA select SYS_SUPPORTS_NUMA
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_SH_CMT
endchoice endchoice
...@@ -567,27 +558,6 @@ source "arch/sh/boards/Kconfig" ...@@ -567,27 +558,6 @@ source "arch/sh/boards/Kconfig"
menu "Timer and clock configuration" menu "Timer and clock configuration"
config SH_TIMER_TMU
bool "TMU timer driver"
depends on SYS_SUPPORTS_TMU
default y
help
This enables the build of the TMU timer driver.
config SH_TIMER_CMT
bool "CMT timer driver"
depends on SYS_SUPPORTS_CMT
default y
help
This enables build of the CMT timer driver.
config SH_TIMER_MTU2
bool "MTU2 timer driver"
depends on SYS_SUPPORTS_MTU2
default y
help
This enables build of the MTU2 timer driver.
config SH_PCLK_FREQ config SH_PCLK_FREQ
int "Peripheral clock frequency (in Hz)" int "Peripheral clock frequency (in Hz)"
depends on SH_CLK_CPG_LEGACY depends on SH_CLK_CPG_LEGACY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment