From 4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 11 Sep 2003 23:06:34 +0000 Subject: * Patch by Martin Krause, 11 Sep 2003: add burn-in tests for TRAB board * Enable instruction cache on MPC5200 board --- common/exports.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/exports.c') diff --git a/common/exports.c b/common/exports.c index 22002ccb38..9858217ae0 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 */ } -- cgit v1.2.3