mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
clocksource/drivers/pxa_timer: Move the Kconfig rule
Instead of having the clocksource's Kconfig depending on the arch, let the arch to select the timer it needs. The CLKSRC_OF dependency is removed because already selected by the ARCH_PXA, and it is added for SA1100. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
parent
baacaf8338
commit
389d9b5841
2 changed files with 4 additions and 2 deletions
|
@ -609,6 +609,7 @@ config ARCH_PXA
|
||||||
select AUTO_ZRELADDR
|
select AUTO_ZRELADDR
|
||||||
select COMMON_CLK
|
select COMMON_CLK
|
||||||
select CLKDEV_LOOKUP
|
select CLKDEV_LOOKUP
|
||||||
|
select CLKSRC_PXA
|
||||||
select CLKSRC_MMIO
|
select CLKSRC_MMIO
|
||||||
select CLKSRC_OF
|
select CLKSRC_OF
|
||||||
select GENERIC_CLOCKEVENTS
|
select GENERIC_CLOCKEVENTS
|
||||||
|
@ -648,6 +649,8 @@ config ARCH_SA1100
|
||||||
select ARCH_SPARSEMEM_ENABLE
|
select ARCH_SPARSEMEM_ENABLE
|
||||||
select CLKDEV_LOOKUP
|
select CLKDEV_LOOKUP
|
||||||
select CLKSRC_MMIO
|
select CLKSRC_MMIO
|
||||||
|
select CLKSRC_PXA
|
||||||
|
select CLKSRC_OF if OF
|
||||||
select CPU_FREQ
|
select CPU_FREQ
|
||||||
select CPU_SA1100
|
select CPU_SA1100
|
||||||
select GENERIC_CLOCKEVENTS
|
select GENERIC_CLOCKEVENTS
|
||||||
|
|
|
@ -307,8 +307,7 @@ config CLKSRC_TANGO_XTAL
|
||||||
select CLKSRC_OF
|
select CLKSRC_OF
|
||||||
|
|
||||||
config CLKSRC_PXA
|
config CLKSRC_PXA
|
||||||
def_bool y if ARCH_PXA || ARCH_SA1100
|
bool
|
||||||
select CLKSRC_OF if OF
|
|
||||||
help
|
help
|
||||||
This enables OST0 support available on PXA and SA-11x0
|
This enables OST0 support available on PXA and SA-11x0
|
||||||
platforms.
|
platforms.
|
||||||
|
|
Loading…
Add table
Reference in a new issue