Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig
This converts the following to Kconfig: CONFIG_SYS_I2C_BUS_MAX Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> [trini: Fix AM43XX drop AM44XX] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -156,7 +156,6 @@
|
||||
* I2C support
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_BUS_MAX 4
|
||||
#define CONFIG_SYS_I2C_BASE SOCFPGA_I2C0_ADDRESS
|
||||
#define CONFIG_SYS_I2C_BASE1 SOCFPGA_I2C1_ADDRESS
|
||||
#define CONFIG_SYS_I2C_BASE2 SOCFPGA_I2C2_ADDRESS
|
||||
|
||||
@@ -160,7 +160,6 @@
|
||||
#define CONFIG_SYS_DAVINCI_I2C_SLAVE1 0x10 /* SMBus host address */
|
||||
#define CONFIG_SYS_DAVINCI_I2C_SPEED2 100000
|
||||
#define CONFIG_SYS_DAVINCI_I2C_SLAVE2 0x10 /* SMBus host address */
|
||||
#define CONFIG_SYS_I2C_BUS_MAX 3
|
||||
|
||||
/* EEPROM definitions */
|
||||
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
|
||||
|
||||
Reference in New Issue
Block a user