diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-05 08:32:55 -0800 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-05 08:32:55 -0800 |
commit | 61bcbc2af8be4cafb5723d4bd306053b70f52a7a (patch) | |
tree | 5b354aa58df122fbb3d9bb531e99f337b47532ce /arch/arm/mach-exynos | |
parent | b2318482a3a9818af9138a323263a0f761a5e5f8 (diff) | |
download | op-kernel-dev-61bcbc2af8be4cafb5723d4bd306053b70f52a7a.zip op-kernel-dev-61bcbc2af8be4cafb5723d4bd306053b70f52a7a.tar.gz |
ARM: EXYNOS: skip the clock initialization for exynos5440
Since exynos5440 can support only common clk stuff, so this
patch skips legacy exynos5 clock initialization.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index d6d0dc6..1a89824 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -424,11 +424,18 @@ static void __init exynos5_init_clocks(int xtal) { printk(KERN_DEBUG "%s: initializing clocks\n", __func__); + /* EXYNOS5440 can support only common clock framework */ + + if (soc_is_exynos5440()) + return; + +#ifdef CONFIG_SOC_EXYNOS5250 s3c24xx_register_baseclocks(xtal); s5p_register_clocks(xtal); exynos5_register_clocks(); exynos5_setup_clocks(); +#endif } #define COMBINER_ENABLE_SET 0x0 |