mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
ti: i2c: Convert CONFIG_SYS_OMAP24_I2C to CONFIG_SYS_I2C namespace
The omap24xx I2C driver uses its own CONFIG namespace for common I2C variables. Rather than convert more of them to Kconfig, rename these to the common I2C ones and remove the entirely unused functionality. As part of this, we make the am335x_shc platforms consistent with their intended speed values. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -246,7 +246,7 @@ struct tam3517_module_info {
|
||||
|
||||
#define TAM3517_READ_EEPROM(info, ret) \
|
||||
do { \
|
||||
i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); \
|
||||
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); \
|
||||
if (eeprom_read(CONFIG_SYS_I2C_EEPROM_ADDR, 0, \
|
||||
(void *)info, sizeof(*info))) \
|
||||
ret = 1; \
|
||||
|
||||
Reference in New Issue
Block a user