global: Migrate CONFIG_I2C_MULTI_BUS to CFG

Perform a simple rename of CONFIG_I2C_MULTI_BUS to CFG_I2C_MULTI_BUS

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2022-12-04 10:04:08 -05:00
parent d2cd9f4121
commit e06b9b8d75
5 changed files with 5 additions and 5 deletions

2
README
View File

@@ -955,7 +955,7 @@ The following options need to be configured:
You should define these to the GPIO value as given directly to You should define these to the GPIO value as given directly to
the generic GPIO functions. the generic GPIO functions.
CONFIG_I2C_MULTI_BUS CFG_I2C_MULTI_BUS
This option allows the use of multiple I2C buses, each of which This option allows the use of multiple I2C buses, each of which
must have a controller. At any point in time, only one bus is must have a controller. At any point in time, only one bus is

View File

@@ -29,7 +29,7 @@
#endif /* CONFIG_MTD_RAW_NAND */ #endif /* CONFIG_MTD_RAW_NAND */
/* Enable Multi Bus support for I2C */ /* Enable Multi Bus support for I2C */
#define CONFIG_I2C_MULTI_BUS #define CFG_I2C_MULTI_BUS
/* DSS Support */ /* DSS Support */

View File

@@ -38,7 +38,7 @@
* I2C * I2C
*/ */
#define CONFIG_I2C_MULTI_BUS #define CFG_I2C_MULTI_BUS
/* /*
* Input * Input

View File

@@ -28,7 +28,7 @@
#define TQMA6_SPI_FLASH_SECTOR_SIZE SZ_64K #define TQMA6_SPI_FLASH_SECTOR_SIZE SZ_64K
/* I2C Configs */ /* I2C Configs */
#define CONFIG_I2C_MULTI_BUS #define CFG_I2C_MULTI_BUS
#if !defined(CONFIG_DM_PMIC) #if !defined(CONFIG_DM_PMIC)
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08

View File

@@ -930,7 +930,7 @@ unsigned int i2c_get_bus_speed(void);
* only for backwardcompatibility, should go away if we switched * only for backwardcompatibility, should go away if we switched
* completely to new multibus support. * completely to new multibus support.
*/ */
#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY) || defined(CONFIG_I2C_MULTI_BUS) #if CONFIG_IS_ENABLED(SYS_I2C_LEGACY) || defined(CFG_I2C_MULTI_BUS)
# if !defined(CFG_SYS_MAX_I2C_BUS) # if !defined(CFG_SYS_MAX_I2C_BUS)
# define CFG_SYS_MAX_I2C_BUS 2 # define CFG_SYS_MAX_I2C_BUS 2
# endif # endif