projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea31b7a
)
designware_i2c.h: Define IC_CLK only if not already defined in config file
author
Armando Visconti
<armando.visconti@st.com>
Thu, 6 Dec 2012 00:04:19 +0000
(
00:04
+0000)
committer
Tom Rini
<trini@ti.com>
Tue, 11 Dec 2012 20:17:32 +0000
(13:17 -0700)
Signed-off-by: Armando Visconti <armando.visconti@st.com>
drivers/i2c/designware_i2c.h
patch
|
blob
|
history
diff --git
a/drivers/i2c/designware_i2c.h
b/drivers/i2c/designware_i2c.h
index
0dc8884
..
2faf4a8
100644
(file)
--- a/
drivers/i2c/designware_i2c.h
+++ b/
drivers/i2c/designware_i2c.h
@@
-60,7
+60,9
@@
struct i2c_regs {
u32 ic_tx_abrt_source;
};
+#if !defined(IC_CLK)
#define IC_CLK 166
+#endif
#define NANO_TO_MICRO 1000
/* High and low times in different speed modes (in ns) */