commit | 0c1e325da4796bafa54f03b7c326ddd05ea94166 | [log] [tgz] |
---|---|---|
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | Tue Aug 19 03:01:19 2008 +0600 |
committer | John Rigby <jrigby@freescale.com> | Thu Aug 28 09:16:54 2008 -0600 |
tree | dedad365b22f5893a7483d5bd3549ab61b8a166d | |
parent | e921c16f28ce0af7d9385c6e98455f52ec3bcf93 [diff] [blame] |
ColdFire: I2C fix for multiple platforms Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
diff --git a/cpu/mcf547x_8x/speed.c b/cpu/mcf547x_8x/speed.c index 389e7c9..28fe657 100644 --- a/cpu/mcf547x_8x/speed.c +++ b/cpu/mcf547x_8x/speed.c
@@ -39,5 +39,10 @@ gd->bus_clk = CFG_CLK; gd->cpu_clk = (gd->bus_clk * 2); + +#ifdef CONFIG_FSL_I2C + gd->i2c1_clk = gd->bus_clk; +#endif + return (0); }