From eec567a67e00d1ed8d941e9098b7d421f4091abf Mon Sep 17 00:00:00 2001 From: TsiChung Liew Date: Tue, 19 Aug 2008 03:01:19 +0600 Subject: ColdFire: I2C fix for multiple platforms Signed-off-by: TsiChung Liew --- cpu/mcf5445x/speed.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpu/mcf5445x') diff --git a/cpu/mcf5445x/speed.c b/cpu/mcf5445x/speed.c index f677f3ced..6711a1d7c 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); } -- cgit v1.2.3