clocksource: dw_apb_timer_of: select DW_APB_TIMER

A patch from »dw_apb_timer: osc as sched_clock, clocks and clocksource_of support« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Tue, 4 Jun 2013 11:18:26 +0200

Commit-Message

dw_apb_timer_of is the driver part facing devicetree platforms and calls into dw_apb_timer with the data gathered from the dt. Currently the two platforms using the dw_apb_timer_of select both the options for the core timer and the dt addon. As dw_apb_timer_of always depends on dw_apb_timer let it select DW_APB_TIMER itself without the need for every platform to do it. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

arch/arm/mach-picoxcell/Kconfig | 1 - arch/arm/mach-socfpga/Kconfig | 1 - drivers/clocksource/Kconfig | 1 + 3 files changed, 1 insertions(+), 2 deletions(-)

Statistics

  • 1 lines added
  • 2 lines removed

Changes

----------------------- arch/arm/mach-picoxcell/Kconfig ------------------------
index 13bae78..b1022f4 100644
@@ -4,7 +4,6 @@ config ARCH_PICOXCELL
select ARM_PATCH_PHYS_VIRT
select ARM_VIC
select CPU_V6K
- select DW_APB_TIMER
select DW_APB_TIMER_OF
select GENERIC_CLOCKEVENTS
select HAVE_TCM
------------------------ arch/arm/mach-socfpga/Kconfig -------------------------
index 566e804..a279fb3 100644
@@ -7,7 +7,6 @@ config ARCH_SOCFPGA
select CLKDEV_LOOKUP
select COMMON_CLK
select CPU_V7
- select DW_APB_TIMER
select DW_APB_TIMER_OF
select GENERIC_CLOCKEVENTS
select GPIO_PL061 if GPIOLIB
------------------------- drivers/clocksource/Kconfig --------------------------
index f151c6c..48a0f2e 100644
@@ -21,6 +21,7 @@ config DW_APB_TIMER
config DW_APB_TIMER_OF
bool
+ select DW_APB_TIMER
config ARMADA_370_XP_TIMER
bool
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...