summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x/speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mcf5445x/speed.c')
-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 f677f3ced0d..6711a1d7c89 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);
}