summaryrefslogtreecommitdiff
path: root/common/exports.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 18:10:08 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 18:10:08 -0500
commitc3517f919d0f61650cf3027fd4faf0f631142f6c (patch)
tree182ef6971f28188af968fea9fe74ccc5f594d44a /common/exports.c
parentfd9bcaa35be64fe41a4223fdb6ecdbad52470b39 (diff)
downloadu-boot-c3517f919d0f61650cf3027fd4faf0f631142f6c.tar.gz
u-boot-c3517f919d0f61650cf3027fd4faf0f631142f6c.tar.bz2
u-boot-c3517f919d0f61650cf3027fd4faf0f631142f6c.zip
common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/exports.c')
-rw-r--r--common/exports.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/exports.c b/common/exports.c
index fc8060ae53..a579554ab5 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -32,8 +32,8 @@ void jumptable_init (void)
gd->jt[XF_install_hdlr] = (void *) irq_install_handler;
gd->jt[XF_free_hdlr] = (void *) irq_free_handler;
#endif /* I386 || PPC */
-#if (CONFIG_COMMANDS & CFG_CMD_I2C) || defined(CONFIG_CMD_I2C)
+#if defined(CONFIG_CMD_I2C)
gd->jt[XF_i2c_write] = (void *) i2c_write;
gd->jt[XF_i2c_read] = (void *) i2c_read;
-#endif /* CFG_CMD_I2C */
+#endif
}