]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/designware_i2c.h
EXYNOS: Resolve the i2c compilation error
[u-boot] / drivers / i2c / designware_i2c.h
index 0dc8884edaf1d159f7cdc00b5dd73f3d7ccd6384..2faf4a8717a31f1868dfa70cebb0f12b1b7d5694 100644 (file)
@@ -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) */