Convert CONFIG_SYS_I2C_SPEED et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_I2C_SPEED CONFIG_SYS_I2C_SLAVE Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -746,16 +746,6 @@ extern struct i2c_bus_hose i2c_bus[];
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Many boards/controllers/drivers don't support an I2C slave interface so
|
||||
* provide a default slave address for them for use in common code. A real
|
||||
* value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does
|
||||
* support a slave interface.
|
||||
*/
|
||||
#ifndef CONFIG_SYS_I2C_SLAVE
|
||||
#define CONFIG_SYS_I2C_SLAVE 0xfe
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Initialization, must be called once on start up, may be called
|
||||
* repeatedly to change the speed and slave addresses.
|
||||
|
Reference in New Issue
Block a user