diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2013-03-09 03:03:29 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-25 05:17:12 -0400 |
commit | 6923ae4bd3bb85745629f120a4cccee0182a8f9d (patch) | |
tree | 75820a23e36d1732b0e4150e902874e4ef4472d9 /arch/arm/mach-exynos/mach-origen.c | |
parent | 6e6aac7590f902d14d90bace3fd4990d57b4979d (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-origen.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-origen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 620d60c8fbb5..e42e61ae1e1c 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c | |||
@@ -814,7 +814,7 @@ MACHINE_START(ORIGEN, "ORIGEN") | |||
814 | .map_io = origen_map_io, | 814 | .map_io = origen_map_io, |
815 | .init_machine = origen_machine_init, | 815 | .init_machine = origen_machine_init, |
816 | .init_late = exynos_init_late, | 816 | .init_late = exynos_init_late, |
817 | .init_time = mct_init, | 817 | .init_time = exynos_init_time, |
818 | .reserve = &origen_reserve, | 818 | .reserve = &origen_reserve, |
819 | .restart = exynos4_restart, | 819 | .restart = exynos4_restart, |
820 | MACHINE_END | 820 | MACHINE_END |