summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-origen.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2013-03-09 09:03:33 +0100
committerKukjin Kim <kgene.kim@samsung.com>2013-03-25 10:17:13 +0100
commit927442741189fe2b6cbefdcd07f158a7ff909ca8 (patch)
treea69b6792430ae87412df257a592fc6111f1b6c41 /arch/arm/mach-exynos/mach-origen.c
parentARM: EXYNOS: Initialize the clocks prior to timer initialization (diff)
downloadlinux-927442741189fe2b6cbefdcd07f158a7ff909ca8.tar.xz
linux-927442741189fe2b6cbefdcd07f158a7ff909ca8.zip
ARM: EXYNOS: allow legacy board support to specify xxti and xusbxti clock speed
The clock speed of xxti and xusbxti clocks depends on the oscillator used on the board to generate these clocks. For non-dt platforms, allow the board support for those platforms to set the clock frequency of xxti and xusbxti clocks. 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c
index e42e61ae1e1c..a9aa5c034b23 100644
--- a/arch/arm/mach-exynos/mach-origen.c
+++ b/arch/arm/mach-exynos/mach-origen.c
@@ -755,6 +755,8 @@ static void __init origen_map_io(void)
{
exynos_init_io(NULL, 0);
s3c24xx_init_uarts(origen_uartcfgs, ARRAY_SIZE(origen_uartcfgs));
+ xxti_f = 0;
+ xusbxti_f = 24000000;
}
static void __init origen_power_init(void)