summaryrefslogtreecommitdiff
path: root/cpu/mpc8260/i2c.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-04-24 15:34:05 -0500
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:45 +0200
commit9c90a2c8e87414007a016b7cd099ac1e32fd301b (patch)
tree0a9426b2bc4bdc28a7c0cbb60eb9aa7653cd17a8 /cpu/mpc8260/i2c.c
parente7563aff174f77aa61dab1ef5d9b47bebaa43702 (diff)
downloadu-boot-imx-9c90a2c8e87414007a016b7cd099ac1e32fd301b.zip
u-boot-imx-9c90a2c8e87414007a016b7cd099ac1e32fd301b.tar.gz
u-boot-imx-9c90a2c8e87414007a016b7cd099ac1e32fd301b.tar.bz2
i2c.h: Provide a default CONFIG_SYS_I2C_SLAVE value
Many boards/controllers/drivers don't support an I2C slave interface, however CONFIG_SYS_I2C_SLAVE is used in common code so provide a default Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'cpu/mpc8260/i2c.c')
-rw-r--r--cpu/mpc8260/i2c.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpu/mpc8260/i2c.c b/cpu/mpc8260/i2c.c
index 35cf8f1..2b954b4 100644
--- a/cpu/mpc8260/i2c.c
+++ b/cpu/mpc8260/i2c.c
@@ -58,9 +58,6 @@ static unsigned int i2c_bus_num __attribute__ ((section (".data"))) = 0;
#define CONFIG_SYS_I2C_SPEED 50000
#endif
-#ifndef CONFIG_SYS_I2C_SLAVE
-#define CONFIG_SYS_I2C_SLAVE 0xFE
-#endif
/*-----------------------------------------------------------------------
*/