X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fi2c.h;h=2ae33670fde1ec72af1ec8282bfc687559423b57;hb=f6eda7f80ccc13d658020268c507d7173cf2e8aa;hp=fa9d164e9aaf00f2738259f5601c90d9a11d3d63;hpb=ea1fba136a4778b8f55e6b94a76a548cfad9f522;p=oweals%2Fu-boot.git diff --git a/include/asm-ppc/i2c.h b/include/asm-ppc/i2c.h index fa9d164e9a..2ae33670fd 100644 --- a/include/asm-ppc/i2c.h +++ b/include/asm-ppc/i2c.h @@ -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