Commit 61bcbc2a authored by Kukjin Kim's avatar Kukjin Kim

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: default avatarKukjin Kim <kgene.kim@samsung.com>
parent b2318482
...@@ -424,11 +424,18 @@ static void __init exynos5_init_clocks(int xtal) ...@@ -424,11 +424,18 @@ static void __init exynos5_init_clocks(int xtal)
{ {
printk(KERN_DEBUG "%s: initializing clocks\n", __func__); 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); s3c24xx_register_baseclocks(xtal);
s5p_register_clocks(xtal); s5p_register_clocks(xtal);
exynos5_register_clocks(); exynos5_register_clocks();
exynos5_setup_clocks(); exynos5_setup_clocks();
#endif
} }
#define COMBINER_ENABLE_SET 0x0 #define COMBINER_ENABLE_SET 0x0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment