clocksource: dw_apb_timer_of: select DW_APB_TIMER
authorHeiko Stuebner <heiko@sntech.de>
Tue, 4 Jun 2013 09:38:11 +0000 (11:38 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 12 Jun 2013 11:47:30 +0000 (13:47 +0200)
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@sntech.de>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Dinh Nguyen <dinguyen@altera.com>
arch/arm/mach-picoxcell/Kconfig
arch/arm/mach-socfpga/Kconfig
drivers/clocksource/Kconfig

index 13bae78b215a4b4e0030797e2229e371b716f26b..b1022f4315f7f381accd63b6202acce59a236433 100644 (file)
@@ -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
index 566e804d40367c8a13bf83164b4c3af7b7320750..a279fb3150691a4a3c3987a0e0fb2b417ec763b1 100644 (file)
@@ -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
index f151c6cf27c336ffa756c68a69dc2d4dd20dfb8f..48a0f2e1dd7825470dbf3d88bb25eabbe1230733 100644 (file)
@@ -21,6 +21,7 @@ config DW_APB_TIMER
 
 config DW_APB_TIMER_OF
        bool
+       select DW_APB_TIMER
 
 config ARMADA_370_XP_TIMER
        bool
This page took 0.040707 seconds and 5 git commands to generate.