]> git.sur5r.net Git - u-boot/commitdiff
powerpc/85xx: Corrected sdhc clock value for P1010
authorPriyanka Jain <Priyanka.Jain@freescale.com>
Tue, 8 Feb 2011 10:15:25 +0000 (15:45 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:42 +0000 (09:24 -0500)
SDHC clock is equal to CCB on P1010 and P1014 not CCB/2.

Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Poonam Aggrwal <Poonam.Aggrwal@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/speed.c

index 9d749c33304b510e1f048fae482f92c783cf5b45..faca451cc1d0f96edd65c30f62090b41464e7599 100644 (file)
@@ -262,7 +262,8 @@ int get_clocks (void)
        gd->i2c2_clk = gd->i2c1_clk;
 
 #if defined(CONFIG_FSL_ESDHC)
-#ifdef CONFIG_MPC8569
+#if defined(CONFIG_MPC8569) || defined(CONFIG_P1010) ||\
+       defined(CONFIG_P1014)
        gd->sdhc_clk = gd->bus_clk;
 #else
        gd->sdhc_clk = gd->bus_clk / 2;