summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos4/Makefile
diff options
context:
space:
mode:
authorChanghwan Youn <chaos.youn@samsung.com>2011-03-11 10:39:57 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-03-11 10:40:37 +0900
commit30d8bead5a309492d1dae2f6511a0465fe6ad05e (patch)
tree0c2d5f42b58d9ade1a1a317dcddf89a5042f4d21 /arch/arm/mach-exynos4/Makefile
parent614a392e1cce882745cdf130fe37fdf86bbd9b9a (diff)
ARM: EXYNOS4: Implement kernel timers using MCT
The Multi-Core Timer(MCT) of EXYNOS4 is designed for implementing clock source timer and clock event timers. This patch implements 1 clock source timer with 64 bit free running counter of MCT and 2 clock event timers with two of 31-bit tick counters. Signed-off-by: Changhwan Youn <chaos.youn@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/Makefile')
-rw-r--r--arch/arm/mach-exynos4/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos4/Makefile b/arch/arm/mach-exynos4/Makefile
index 45422cb3e5b1..56e367b48fbb 100644
--- a/arch/arm/mach-exynos4/Makefile
+++ b/arch/arm/mach-exynos4/Makefile
@@ -13,11 +13,18 @@ obj- :=
# Core support for EXYNOS4 system
obj-$(CONFIG_CPU_EXYNOS4210) += cpu.o init.o clock.o irq-combiner.o
-obj-$(CONFIG_CPU_EXYNOS4210) += setup-i2c0.o time.o gpiolib.o irq-eint.o dma.o
+obj-$(CONFIG_CPU_EXYNOS4210) += setup-i2c0.o gpiolib.o irq-eint.o dma.o
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
+
+ifeq ($(CONFIG_EXYNOS4_MCT),y)
+obj-y += mct.o
+else
+obj-y += time.o
obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
+endif
+
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
# machine support