aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:04:08 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:10:40 -0500
commite06b9b8d75f3f367db115fbcd902ee2d22ddcdba (patch)
tree7595bdf9b9bab84385fcb555777ad51d9cbfca65
parentd2cd9f4121f5638dae4030f35826f1d6624a2c00 (diff)
downloadu-boot-e06b9b8d75f3f367db115fbcd902ee2d22ddcdba.zip
u-boot-e06b9b8d75f3f367db115fbcd902ee2d22ddcdba.tar.gz
u-boot-e06b9b8d75f3f367db115fbcd902ee2d22ddcdba.tar.bz2
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>
-rw-r--r--README2
-rw-r--r--include/configs/omap3_beagle.h2
-rw-r--r--include/configs/sniper.h2
-rw-r--r--include/configs/tqma6.h2
-rw-r--r--include/i2c.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 8408676..0561835 100644
--- a/README
+++ b/README
@@ -955,7 +955,7 @@ The following options need to be configured:
You should define these to the GPIO value as given directly to
the generic GPIO functions.
- CONFIG_I2C_MULTI_BUS
+ CFG_I2C_MULTI_BUS
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
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index efeb7bf..af7cb35 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -29,7 +29,7 @@
#endif /* CONFIG_MTD_RAW_NAND */
/* Enable Multi Bus support for I2C */
-#define CONFIG_I2C_MULTI_BUS
+#define CFG_I2C_MULTI_BUS
/* DSS Support */
diff --git a/include/configs/sniper.h b/include/configs/sniper.h
index eaee8dd..45a3102 100644
--- a/include/configs/sniper.h
+++ b/include/configs/sniper.h
@@ -38,7 +38,7 @@
* I2C
*/
-#define CONFIG_I2C_MULTI_BUS
+#define CFG_I2C_MULTI_BUS
/*
* Input
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 14d7730..cb5f7fc 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -28,7 +28,7 @@
#define TQMA6_SPI_FLASH_SECTOR_SIZE SZ_64K
/* I2C Configs */
-#define CONFIG_I2C_MULTI_BUS
+#define CFG_I2C_MULTI_BUS
#if !defined(CONFIG_DM_PMIC)
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
diff --git a/include/i2c.h b/include/i2c.h
index 51390f8..3811b26 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -930,7 +930,7 @@ unsigned int i2c_get_bus_speed(void);
* only for backwardcompatibility, should go away if we switched
* 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)
# define CFG_SYS_MAX_I2C_BUS 2
# endif