From: Joonyoung Shim Date: Mon, 22 Dec 2014 10:46:30 +0000 (+0900) Subject: arm: exynos: clock: support SPLL as mmc source clock for exynos5420 X-Git-Tag: v2015.01~93^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb56435f504b401e3a4e66fc98098f1de447c789;p=oweals%2Fu-boot.git arm: exynos: clock: support SPLL as mmc source clock for exynos5420 MMC of exynos5420 can select SPLL as source clock, so add to support SPLL in exynos5420_get_mmc_clk(). It was tested on Odroid-XU3 board. Signed-off-by: Joonyoung Shim Acked-by: Jaehoon Chung Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c index 8fab135beb..b31c13b14b 100644 --- a/arch/arm/cpu/armv7/exynos/clock.c +++ b/arch/arm/cpu/armv7/exynos/clock.c @@ -848,6 +848,8 @@ static unsigned long exynos5420_get_mmc_clk(int dev_index) if (sel == 0x3) sclk = get_pll_clk(MPLL); + else if (sel == 0x4) + sclk = get_pll_clk(SPLL); else if (sel == 0x6) sclk = get_pll_clk(EPLL); else