summaryrefslogtreecommitdiff
path: root/drivers/tsi108_i2c.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 17:39:42 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 17:39:42 -0500
commitcb51c0bf88f95a1bca68324b0126f8eed8b43273 (patch)
tree880cc2d5f81365ffa61713de4164cf2e0116377e /drivers/tsi108_i2c.c
parent07d38a17e964aec4c7827f0ee9a583bc8cc1ad6b (diff)
downloadu-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.zip
u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.tar.gz
u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.tar.bz2
drivers/[n-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'drivers/tsi108_i2c.c')
-rw-r--r--drivers/tsi108_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tsi108_i2c.c b/drivers/tsi108_i2c.c
index 2c90eed..3a3b75c 100644
--- a/drivers/tsi108_i2c.c
+++ b/drivers/tsi108_i2c.c
@@ -28,7 +28,7 @@
#ifdef CONFIG_TSI108_I2C
#include <tsi108.h>
-#if (CONFIG_COMMANDS & CFG_CMD_I2C) || defined(CONFIG_CMD_I2C)
+#if defined(CONFIG_CMD_I2C)
#define I2C_DELAY 100000
#undef DEBUG_I2C
@@ -279,5 +279,5 @@ int i2c_probe (uchar chip)
return i2c_read (chip, 0, 1, (char *)&tmp, 1);
}
-#endif /* (CONFIG_COMMANDS & CFG_CMD_I2C) */
+#endif
#endif /* CONFIG_TSI108_I2C */