diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-04-24 20:34:05 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 18:39:45 (GMT) |
commit | 9c90a2c8e87414007a016b7cd099ac1e32fd301b (patch) | |
tree | 0a9426b2bc4bdc28a7c0cbb60eb9aa7653cd17a8 /common | |
parent | e7563aff174f77aa61dab1ef5d9b47bebaa43702 (diff) | |
download | u-boot-9c90a2c8e87414007a016b7cd099ac1e32fd301b.tar.xz |
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')
-rw-r--r-- | common/cmd_eeprom.c | 4 |
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) |