projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mpc83xx: Changed to unified mpx83xx names and added common 83xx changes
[oweals/u-boot.git]
/
include
/
asm-ppc
/
i2c.h
diff --git
a/include/asm-ppc/i2c.h
b/include/asm-ppc/i2c.h
index fa9d164e9aaf00f2738259f5601c90d9a11d3d63..2ae33670fde1ec72af1ec8282bfc687559423b57 100644
(file)
--- 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
#error CFG_I2C_OFFSET is not defined in /include/configs/${BOARD}.h
#endif
-#if defined(CONFIG_MPC8349
A
DS) || defined(CONFIG_TQM834X)
+#if defined(CONFIG_MPC8349
EM
DS) || defined(CONFIG_TQM834X)
/*
* MPC8349 have two i2c bus
*/
/*
* MPC8349 have two i2c bus
*/
-extern i2c_t * mpc83
49
_i2c;
-#define I2C mpc83
49
_i2c
+extern i2c_t * mpc83
xx
_i2c;
+#define I2C mpc83
xx
_i2c
#else
#define I2C ((i2c_t*)(CFG_IMMRBAR + CFG_I2C_OFFSET))
#endif
#else
#define I2C ((i2c_t*)(CFG_IMMRBAR + CFG_I2C_OFFSET))
#endif