aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-smdkv310.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2013-03-09 03:03:29 -0500
committerKukjin Kim <kgene.kim@samsung.com>2013-03-25 05:17:12 -0400
commit6923ae4bd3bb85745629f120a4cccee0182a8f9d (patch)
tree75820a23e36d1732b0e4150e902874e4ef4472d9 /arch/arm/mach-exynos/mach-smdkv310.c
parent6e6aac7590f902d14d90bace3fd4990d57b4979d (diff)
ARM: EXYNOS: Initialize the clocks prior to timer initialization
Since the clock initialization should be completed prior to the mct timer initialization, create a new function 'exynos_init_time' that first sets up the clock and then invokes the timer initialization function. The 'init_time' callback in the board files are updated to invoke this new wrapper function. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/mach-smdkv310.c')
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index 51fa235b4dc9..4bf21988d7b3 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -422,7 +422,7 @@ MACHINE_START(SMDKV310, "SMDKV310")
422 .init_irq = exynos4_init_irq, 422 .init_irq = exynos4_init_irq,
423 .map_io = smdkv310_map_io, 423 .map_io = smdkv310_map_io,
424 .init_machine = smdkv310_machine_init, 424 .init_machine = smdkv310_machine_init,
425 .init_time = mct_init, 425 .init_time = exynos_init_time,
426 .reserve = &smdkv310_reserve, 426 .reserve = &smdkv310_reserve,
427 .restart = exynos4_restart, 427 .restart = exynos4_restart,
428MACHINE_END 428MACHINE_END
@@ -435,7 +435,7 @@ MACHINE_START(SMDKC210, "SMDKC210")
435 .map_io = smdkv310_map_io, 435 .map_io = smdkv310_map_io,
436 .init_machine = smdkv310_machine_init, 436 .init_machine = smdkv310_machine_init,
437 .init_late = exynos_init_late, 437 .init_late = exynos_init_late,
438 .init_time = mct_init, 438 .init_time = exynos_init_time,
439 .reserve = &smdkv310_reserve, 439 .reserve = &smdkv310_reserve,
440 .restart = exynos4_restart, 440 .restart = exynos4_restart,
441MACHINE_END 441MACHINE_END