summaryrefslogtreecommitdiff
path: root/common/exports.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-11 23:06:34 +0000
committerwdenk <wdenk>2003-09-11 23:06:34 +0000
commit4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7 (patch)
tree5aadeadbf3f022aa31bd34b35e4ff6f1ff134d74 /common/exports.c
parenta43278a43d522fba7fea0ed3045b718a9c8d22ac (diff)
downloadu-boot-imx-4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7.zip
u-boot-imx-4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7.tar.gz
u-boot-imx-4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7.tar.bz2
* Patch by Martin Krause, 11 Sep 2003:
add burn-in tests for TRAB board * Enable instruction cache on MPC5200 board
Diffstat (limited to 'common/exports.c')
-rw-r--r--common/exports.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/exports.c b/common/exports.c
index 22002cc..9858217 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -27,5 +27,9 @@ void jumptable_init (void)
#if defined(CONFIG_I386) || defined(CONFIG_PPC)
gd->jt[XF_install_hdlr] = (void *) irq_install_handler;
gd->jt[XF_free_hdlr] = (void *) irq_free_handler;
-#endif
+#endif /* I386 || PPC */
+#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+ gd->jt[XF_i2c_write] = (void *) i2c_write;
+ gd->jt[XF_i2c_read] = (void *) i2c_read;
+#endif /* CFG_CMD_I2C */
}