projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'mimc200' into next
[oweals/u-boot.git]
/
cpu
/
mcf523x
/
speed.c
diff --git
a/cpu/mcf523x/speed.c
b/cpu/mcf523x/speed.c
index 247d3188bb200b143d0bd4dccc2043b2d0317f71..6096ba41444c410400be753aca3628bc2a955a8b 100644
(file)
--- a/
cpu/mcf523x/speed.c
+++ b/
cpu/mcf523x/speed.c
@@
-42,8
+42,12
@@
int get_clocks(void)
while (!(pll->synsr & PLL_SYNSR_LOCK));
- gd->bus_clk = C
FG
_CLK;
+ gd->bus_clk = C
ONFIG_SYS
_CLK;
gd->cpu_clk = (gd->bus_clk * 2);
+#ifdef CONFIG_FSL_I2C
+ gd->i2c1_clk = gd->bus_clk;
+#endif
+
return (0);
}