mpc83xx: Changed to unified mpx83xx names and added common 83xx changes
[oweals/u-boot.git] / include / asm-ppc / i2c.h
index fa9d164e9aaf00f2738259f5601c90d9a11d3d63..2ae33670fde1ec72af1ec8282bfc687559423b57 100644 (file)
@@ -87,12 +87,12 @@ typedef struct i2c
 #error CFG_I2C_OFFSET is not defined in /include/configs/${BOARD}.h
 #endif
 
-#if defined(CONFIG_MPC8349ADS) || defined(CONFIG_TQM834X)
+#if defined(CONFIG_MPC8349EMDS) || defined(CONFIG_TQM834X)
 /*
  * MPC8349 have two i2c bus
  */
-extern i2c_t * mpc8349_i2c;
-#define I2C mpc8349_i2c
+extern i2c_t * mpc83xx_i2c;
+#define I2C mpc83xx_i2c
 #else
 #define I2C ((i2c_t*)(CFG_IMMRBAR + CFG_I2C_OFFSET))
 #endif