Skip to content
Snippets Groups Projects
Commit 20f02c3b authored by Dipen Dudhat's avatar Dipen Dudhat Committed by Tom Rix
Browse files

ppc/85xx: Use CONFIG_FSL_ESDHC to enable sdhc clk


Enable eSDHC Clock based on generic CONFIG_FSL_ESDHC define instead of a
platform define.  This will enable all the 85xx platforms to use sdhc_clk
based on CONFIG_FSL_ESDHC.

Signed-off-by: default avatarGao Guanhua <B22826@freescale.com>
Signed-off-by: default avatarDipen Dudhat <dipen.dudhat@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 14bdd932
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ int get_clocks (void) ...@@ -153,7 +153,7 @@ int get_clocks (void)
#endif #endif
gd->i2c2_clk = gd->i2c1_clk; gd->i2c2_clk = gd->i2c1_clk;
#if defined(CONFIG_MPC8536) #if defined(CONFIG_FSL_ESDHC)
gd->sdhc_clk = gd->bus_clk / 2; gd->sdhc_clk = gd->bus_clk / 2;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment