aboutsummaryrefslogtreecommitdiff
path: root/include/exports.h
diff options
context:
space:
mode:
authorwdenk2003-09-11 23:06:34 +0000
committerwdenk2003-09-11 23:06:34 +0000
commit4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7 (patch)
tree5aadeadbf3f022aa31bd34b35e4ff6f1ff134d74 /include/exports.h
parenta43278a43d522fba7fea0ed3045b718a9c8d22ac (diff)
* Patch by Martin Krause, 11 Sep 2003:
add burn-in tests for TRAB board * Enable instruction cache on MPC5200 board
Diffstat (limited to 'include/exports.h')
-rw-r--r--include/exports.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/exports.h b/include/exports.h
index f812f16072c..84bc56b7a05 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -18,6 +18,10 @@ void *malloc(size_t);
void free(void*);
void udelay(unsigned long);
unsigned long get_timer(unsigned long);
+#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+int i2c_write (uchar, uint, int , uchar* , int);
+int i2c_read (uchar, uint, int , uchar* , int);
+#endif /* CFG_CMD_I2C */
void app_startup(char **);
@@ -31,7 +35,7 @@ enum {
XF_MAX
};
-#define XF_VERSION 1
+#define XF_VERSION 2
#if defined(CONFIG_I386)
extern gd_t *global_data;