summaryrefslogtreecommitdiffstats
path: root/arch
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 /arch
parent0938f5b275702107c736e05e377dd1045a8cba27 (diff)
downloadblackbird-obmc-uboot-a85ca22f62cb262fe33757792fdb78d1927cb2d0.tar.gz
blackbird-obmc-uboot-a85ca22f62cb262fe33757792fdb78d1927cb2d0.zip
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>
Diffstat (limited to 'arch')
-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 36fedd630c..84a50470aa 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);
}
}
OpenPOWER on IntegriCloud