summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-18 23:12:32 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 14:10:07 -0400
commita5752f8a2594613f96faac01748742de2ee06da2 (patch)
tree562bf703a3f1815b16ff8cf667d3c71f4c98a30a /include/i2c.h
parent1edef7693b576f7ab208a697bb01f033b68041fb (diff)
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>
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 2a8649e95e..a35e99bf87 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -747,16 +747,6 @@ extern struct i2c_bus_hose i2c_bus[];
#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.
*/