summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2013-12-02 14:25:33 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2013-12-03 09:39:46 +0900
commita85ca22f62cb262fe33757792fdb78d1927cb2d0 (patch)
treecd3a7665a00c65acde4f0f82568f544630910035
parent0938f5b275702107c736e05e377dd1045a8cba27 (diff)
downloadu-boot-imx-a85ca22f62cb262fe33757792fdb78d1927cb2d0.zip
u-boot-imx-a85ca22f62cb262fe33757792fdb78d1927cb2d0.tar.gz
u-boot-imx-a85ca22f62cb262fe33757792fdb78d1927cb2d0.tar.bz2
arm: exynos: fix set_mmc_clk for exynos4x12
Fix the set_mmc_clk() for exnos4x12. If board is exynos4x12, mmc clock should be set to wrong value. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--arch/arm/cpu/armv7/exynos/clock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c
index 36fedd6..84a5047 100644
--- a/arch/arm/cpu/armv7/exynos/clock.c
+++ b/arch/arm/cpu/armv7/exynos/clock.c
@@ -1410,7 +1410,8 @@ void set_mmc_clk(int dev_index, unsigned int div)
else {
if (proid_is_exynos4412())
exynos4x12_set_mmc_clk(dev_index, div);
- exynos4_set_mmc_clk(dev_index, div);
+ else
+ exynos4_set_mmc_clk(dev_index, div);
}
}