]> git.sur5r.net Git - u-boot/blobdiff - include/exports.h
include/configs: Use new CONFIG_CMD_* in 85xx board config files.
[u-boot] / include / exports.h
index 8f7f61703c6c47519794996d65931018b3216d86..8a9b314cd405a5b0f40d0ce7e70193099b14fdae 100644 (file)
@@ -23,7 +23,7 @@ void do_reset (void);
 unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
 char *getenv (char *name);
 void setenv (char *varname, char *varvalue);
-#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+#if (CONFIG_COMMANDS & CFG_CMD_I2C) || defined(CONFIG_CMD_I2C)
 int i2c_write (uchar, uint, int , uchar* , int);
 int i2c_read (uchar, uint, int , uchar* , int);
 #endif /* CFG_CMD_I2C */