summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-08-19 03:01:19 +0600
committerJohn Rigby <jrigby@freescale.com>2008-08-28 09:16:54 -0600
commiteec567a67e00d1ed8d941e9098b7d421f4091abf (patch)
treededad365b22f5893a7483d5bd3549ab61b8a166d /cpu/mcf5445x
parentd53cf6a9c7423cba668b867978648645f71c3090 (diff)
downloadu-boot-imx-eec567a67e00d1ed8d941e9098b7d421f4091abf.zip
u-boot-imx-eec567a67e00d1ed8d941e9098b7d421f4091abf.tar.gz
u-boot-imx-eec567a67e00d1ed8d941e9098b7d421f4091abf.tar.bz2
ColdFire: I2C fix for multiple platforms
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu/mcf5445x')
-rw-r--r--cpu/mcf5445x/speed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mcf5445x/speed.c b/cpu/mcf5445x/speed.c
index f677f3c..6711a1d 100644
--- a/cpu/mcf5445x/speed.c
+++ b/cpu/mcf5445x/speed.c
@@ -209,5 +209,9 @@ int get_clocks(void)
#endif
}
+#ifdef CONFIG_FSL_I2C
+ gd->i2c1_clk = gd->bus_clk;
+#endif
+
return (0);
}