add new target 'oxnas'
[openwrt/svn-archive/archive.git] / target / linux / oxnas / patches-3.18 / 310-oxnas-clocksource.patch
1 Index: linux-3.18-rc4/drivers/clocksource/Kconfig
2 ===================================================================
3 --- linux-3.18-rc4.orig/drivers/clocksource/Kconfig
4 +++ linux-3.18-rc4/drivers/clocksource/Kconfig
5 @@ -156,6 +156,12 @@ config VF_PIT_TIMER
6 help
7 Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
8
9 +config CLKSRC_RPS_TIMER
10 + def_bool y if ARCH_OXNAS
11 + select CLKSRC_MMIO
12 + help
13 + This option enables support for the oxnas rps timers.
14 +
15 config SYS_SUPPORTS_SH_CMT
16 bool
17
18 Index: linux-3.18-rc4/drivers/clocksource/Makefile
19 ===================================================================
20 --- linux-3.18-rc4.orig/drivers/clocksource/Makefile
21 +++ linux-3.18-rc4/drivers/clocksource/Makefile
22 @@ -36,6 +36,7 @@ obj-$(CONFIG_CLKSRC_EFM32) += time-efm32
23 obj-$(CONFIG_CLKSRC_EXYNOS_MCT) += exynos_mct.o
24 obj-$(CONFIG_CLKSRC_SAMSUNG_PWM) += samsung_pwm_timer.o
25 obj-$(CONFIG_FSL_FTM_TIMER) += fsl_ftm_timer.o
26 +obj-$(CONFIG_CLKSRC_RPS_TIMER) += oxnas_rps_timer.o
27 obj-$(CONFIG_VF_PIT_TIMER) += vf_pit_timer.o
28 obj-$(CONFIG_CLKSRC_QCOM) += qcom-timer.o
29 obj-$(CONFIG_MTK_TIMER) += mtk_timer.o