summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-12-04 10:04:08 -0500
committerTom Rini <[email protected]>2022-12-23 10:10:40 -0500
commite06b9b8d75f3f367db115fbcd902ee2d22ddcdba (patch)
tree7595bdf9b9bab84385fcb555777ad51d9cbfca65 /include
parentd2cd9f4121f5638dae4030f35826f1d6624a2c00 (diff)
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 <[email protected]>
Diffstat (limited to 'include')
-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
4 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index efeb7bf1007..af7cb3513f8 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 eaee8dd3739..45a3102aeee 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 14d7730f67b..cb5f7fc25af 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 51390f8fd84..3811b26c08e 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