]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_I2C_MULTI_BUS to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:08 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:10:40 +0000 (10:10 -0500)
Perform a simple rename of CONFIG_I2C_MULTI_BUS to CFG_I2C_MULTI_BUS

Signed-off-by: Tom Rini <trini@konsulko.com>
README
include/configs/omap3_beagle.h
include/configs/sniper.h
include/configs/tqma6.h
include/i2c.h

diff --git a/README b/README
index 84086764d8100544ebd9fd033ffca9268067c6ca..05618352fa9331c57faf2c868a158ff9ab490486 100644 (file)
--- 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
index efeb7bf1007815e7f24b46d99a3cee343d332253..af7cb3513f8f820439950cc51a3d68c18dadd1de 100644 (file)
@@ -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 */
 
index eaee8dd3739683c2a72a8ef2244abb74fd4b21c4..45a3102aeeef65f4c92bed40d8c243db9444a2a8 100644 (file)
@@ -38,7 +38,7 @@
  * I2C
  */
 
-#define CONFIG_I2C_MULTI_BUS
+#define CFG_I2C_MULTI_BUS
 
 /*
  * Input
index 14d7730f67bf368183e2ba6ded201fd7b4665399..cb5f7fc25af98962a857488ee2ef4a268b75a0de 100644 (file)
@@ -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
index 51390f8fd84f329cab5ee7b582be4b94260ab982..3811b26c08e08bfef3756aca466e91c8a571eda7 100644 (file)
@@ -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