From: Priyanka Jain Date: Tue, 8 Feb 2011 10:15:25 +0000 (+0530) Subject: powerpc/85xx: Corrected sdhc clock value for P1010 X-Git-Tag: v2011.06-rc1~185^2~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7d640e9bdf5e38f7f40f8becc47dc4036943f01a;p=u-boot powerpc/85xx: Corrected sdhc clock value for P1010 SDHC clock is equal to CCB on P1010 and P1014 not CCB/2. Signed-off-by: Priyanka Jain Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index 9d749c3330..faca451cc1 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -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;