projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
S5PC100: Function to configure the SROMC registers.
[platform/kernel/u-boot.git]
/
cpu
/
mcf547x_8x
/
speed.c
diff --git
a/cpu/mcf547x_8x/speed.c
b/cpu/mcf547x_8x/speed.c
index
389e7c9
..
2cee488
100644
(file)
--- a/
cpu/mcf547x_8x/speed.c
+++ b/
cpu/mcf547x_8x/speed.c
@@
-37,7
+37,12
@@
int get_clocks(void)
{
DECLARE_GLOBAL_DATA_PTR;
- 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);
}