summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/speed.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-12 11:14:19 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:54 -0500
commitef50d6c06ece74fb17e8d7510e62cad9df8b810d (patch)
tree60390a7fb3d9cd7d4d6837a5f9d6135edf110b41 /cpu/mpc85xx/speed.c
parent129ba616b3813dde861f25f3d8a3c47c5c36ad5f (diff)
downloadu-boot-imx-ef50d6c06ece74fb17e8d7510e62cad9df8b810d.zip
u-boot-imx-ef50d6c06ece74fb17e8d7510e62cad9df8b810d.tar.gz
u-boot-imx-ef50d6c06ece74fb17e8d7510e62cad9df8b810d.tar.bz2
mpc85xx: Add support for the MPC8536
The MPC8536 Adds SDHC and SATA controllers to the PQ3 family. We also have SERDES init code for the 8536. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by: Dejan Minic <minic@freescale.com> Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'cpu/mpc85xx/speed.c')
-rw-r--r--cpu/mpc85xx/speed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mpc85xx/speed.c b/cpu/mpc85xx/speed.c
index 699441b4..1cda1e3 100644
--- a/cpu/mpc85xx/speed.c
+++ b/cpu/mpc85xx/speed.c
@@ -110,6 +110,10 @@ int get_clocks (void)
#endif
gd->i2c2_clk = gd->i2c1_clk;
+#if defined(CONFIG_MPC8536)
+ gd->sdhc_clk = gd->bus_clk / 2;
+#endif
+
#if defined(CONFIG_CPM2)
gd->vco_out = 2*sys_info.freqSystemBus;
gd->cpm_clk = gd->vco_out / 2;