Configs: Migrate I2C_BUS_MAX to CONFIG_SYS_I2C_BUS_MAX
For consistency with other platforms and in preparation of Kconfig migration, let's change Several TI platforms that use I2C_BUS_MAX to CONFIG_SYS_I2C_BUS_MAX Signed-off-by: Adam Ford <aford173@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define I2C_BASE1 0x44E0B000
|
||||
#define I2C_BASE2 0x4802A000
|
||||
#define I2C_BASE3 0x4819C000
|
||||
#define I2C_BUS_MAX 3
|
||||
#define CONFIG_SYS_I2C_BUS_MAX 3
|
||||
|
||||
#define I2C_DEFAULT_BASE I2C_BASE1
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef _OMAP3_I2C_H_
|
||||
#define _OMAP3_I2C_H_
|
||||
|
||||
#define I2C_BUS_MAX 3
|
||||
#define CONFIG_SYS_I2C_BUS_MAX 3
|
||||
#define I2C_DEFAULT_BASE I2C_BASE1
|
||||
|
||||
struct i2c {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef _OMAP4_I2C_H_
|
||||
#define _OMAP4_I2C_H_
|
||||
|
||||
#define I2C_BUS_MAX 4
|
||||
#define CONFIG_SYS_I2C_BUS_MAX 4
|
||||
#define I2C_DEFAULT_BASE I2C_BASE1
|
||||
|
||||
struct i2c {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef _OMAP5_I2C_H_
|
||||
#define _OMAP5_I2C_H_
|
||||
|
||||
#define I2C_BUS_MAX 5
|
||||
#define CONFIG_SYS_I2C_BUS_MAX 5
|
||||
#define I2C_DEFAULT_BASE I2C_BASE1
|
||||
|
||||
struct i2c {
|
||||
|
||||
Reference in New Issue
Block a user