summaryrefslogtreecommitdiff
path: root/common/cmd_eeprom.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 /common/cmd_eeprom.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 'common/cmd_eeprom.c')
-rw-r--r--common/cmd_eeprom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c
index e598bf1..f749087 100644
--- a/common/cmd_eeprom.c
+++ b/common/cmd_eeprom.c
@@ -401,10 +401,6 @@ eeprom_probe (unsigned dev_addr, unsigned offset)
#define CONFIG_SYS_I2C_SPEED 50000
#endif
-#ifndef CONFIG_SYS_I2C_SLAVE
-#define CONFIG_SYS_I2C_SLAVE 0xFE
-#endif
-
void eeprom_init (void)
{
#if defined(CONFIG_SPI)