summaryrefslogtreecommitdiffstats
path: root/common/soft_i2c.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
commitd6e9ee92e890f67594ab150689510df361133ead (patch)
treed76987f91295c1e4585130f6d2f43b28fae6fa94 /common/soft_i2c.c
parentf5acb9fd9bba1160de3ef349c7d33fe510eda286 (diff)
downloadblackbird-obmc-uboot-d6e9ee92e890f67594ab150689510df361133ead.tar.gz
blackbird-obmc-uboot-d6e9ee92e890f67594ab150689510df361133ead.zip
common: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/soft_i2c.c')
-rw-r--r--common/soft_i2c.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/soft_i2c.c b/common/soft_i2c.c
index 5ef7f303b8..23db2ee8ff 100644
--- a/common/soft_i2c.c
+++ b/common/soft_i2c.c
@@ -41,8 +41,6 @@
#endif
#include <i2c.h>
-#if defined(CONFIG_SOFT_I2C)
-
/* #define DEBUG_I2C */
#ifdef DEBUG_I2C
@@ -423,6 +421,3 @@ void i2c_reg_write(uchar i2c_addr, uchar reg, uchar val)
{
i2c_write(i2c_addr, reg, 1, &val, 1);
}
-
-
-#endif /* CONFIG_SOFT_I2C */
OpenPOWER on IntegriCloud