clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits (v5)
[PATCH v5 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI
[PATCH v5 02/03] ARM: shmobile: Remove CMT, TMU and STI Kconfig entries
[PATCH v5 03/03] sh: Remove Kconfig entries for TMU, CMT and MTU2
This is V5 of the SH and ARM mach-shmobile clocksource Kconfig
consolidation series.
By sharing Kconfig entires in drivers/clocksource/Kconfig we
can get rid of duplicated bits that do not belong under arch/.
With this series applied it is possible to build the timer
drivers for CMT, MTU2, TMU and STI in case of SH or ARM. The timer
drivers are automatically selected by default. It is also possible
to select and/or deselect freely when COMPILE_TEST has been selected.
Many thanks to Olof, John, Daniel and Arnd for feedback!
Changes since V4:
- Use SYS_SUPPORTS_SH/EM to avoid name space pollution, thanks Olof!
- Remove old SH entries for SYS_SUPPORTS_xxx, use above SH prefix instead
Changes since V3:
- Updated patch 1/3 with more detailed help texts
- Updated patch 2/3 to fit latest renesas-devel tag, see below
- Included acks from John Stultz for patch 2/3 and 3/3
Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>
---
Written against renesas.git tag renesas-devel-v3.13-rc3-20131214v2
arch/arm/mach-shmobile/Kconfig | 35 ++++++++----------
arch/sh/Kconfig | 76 ++++++++++++----------------------------
drivers/clocksource/Kconfig | 44 +++++++++++++++++++++++
3 files changed, 84 insertions(+), 71 deletions(-)