]> git.baikalelectronics.ru Git - uboot.git/commitdiff
global: Migrate CONFIG_POWER_PFUZE100_I2C_ADDR to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:35 +0000 (10:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:52 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_POWER_PFUZE100_I2C_ADDR to CFG_POWER_PFUZE100_I2C_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
board/gateworks/gw_ventana/gw_ventana_spl.c
drivers/power/pmic/pmic_pfuze100.c
include/configs/el6x_common.h
include/configs/gw_ventana.h
include/configs/imx8mq_evk.h
include/configs/kontron_pitx_imx8m.h
include/configs/mx6sabreauto.h
include/configs/mx6sabresd.h
include/configs/novena.h
include/configs/tqma6.h
include/configs/vining_2000.h

index 6ad994af1c64dd433103166ec03139283208d20f..2f046c9c0b3ed12a39033f918221d50753bc5ff9 100644 (file)
@@ -791,8 +791,8 @@ void setup_pmic(void)
        i2c_set_bus_num(i2c_pmic);
 
        /* configure PFUZE100 PMIC */
-       if (!i2c_probe(CONFIG_POWER_PFUZE100_I2C_ADDR)) {
-               debug("probed PFUZE100@0x%x\n", CONFIG_POWER_PFUZE100_I2C_ADDR);
+       if (!i2c_probe(CFG_POWER_PFUZE100_I2C_ADDR)) {
+               debug("probed PFUZE100@0x%x\n", CFG_POWER_PFUZE100_I2C_ADDR);
                power_pfuze100_init(i2c_pmic);
                p = pmic_get("PFUZE100");
                if (p && !pmic_probe(p)) {
index c646a0c31f82243c2655e49cf6c6b1378ce42359..5115b55e49dc9c3d7af3eb8d3137a45cdee4b850 100644 (file)
@@ -23,7 +23,7 @@ int power_pfuze100_init(unsigned char bus)
        p->name = name;
        p->interface = PMIC_I2C;
        p->number_of_regs = PFUZE100_NUM_OF_REGS;
-       p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR;
+       p->hw.i2c.addr = CFG_POWER_PFUZE100_I2C_ADDR;
        p->hw.i2c.tx_num = 1;
        p->bus = bus;
 
index 6913a91c4c194e1a367a350e88df91bf5e6c3870..78af42d04504d278817ac4668e7f6056ea4a58ac 100644 (file)
@@ -17,7 +17,7 @@
 #define CFG_SYS_FSL_USDHC_NUM  2
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 
 /* Commands */
 
index 85a2ad21dc0346b36e4770087d4e06eb67be23b8..ebc5d03d0d5ce00b12be2c2e82c0b7e115545bb2 100644 (file)
@@ -30,7 +30,7 @@
 /*
  * PMIC
  */
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 #define CFG_POWER_LTC3676_I2C_ADDR  0x3c
 
 /* Various command support */
index a7a51907f5c9e98b92ee75d1891d36dd00961bfa..d2de2900c063243e2dfa270c2a6168be453986b0 100644 (file)
@@ -18,7 +18,7 @@
 #define CFG_MALLOC_F_ADDR              0x182000
 /* For RAW image gives a error info not panic */
 
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR 0x08
 #endif
 
 /* ENET Config */
index bf590efb4348e4c4a3769514c82cdb0dcf5c8b67..e3a021c987c69ef3a3ad137116ea94ad8a3c64a7 100644 (file)
@@ -20,7 +20,7 @@
 /* For RAW image gives a error info not panic */
 
 
-#define CONFIG_POWER_PFUZE100_I2C_ADDR  0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR  0x08
 #endif
 
 /* ENET1 Config */
index da98139d7d77397cf609d84b1401b5b206854555..05ae2fce1fd79f523c597fb1cdc3709a836a0a58 100644 (file)
@@ -36,6 +36,6 @@
 /* DMA stuff, needed for GPMI/MXS NAND support */
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 
 #endif                         /* __MX6SABREAUTO_CONFIG_H */
index 1aa8a56cceb6c5a43b15f643353822858885e2dd..30d3b9d930740c978bf30a474bca7aee5d309e0f 100644 (file)
@@ -25,7 +25,7 @@
 #endif
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 
 /* USB Configs */
 #ifdef CONFIG_CMD_USB
index 5e8b7fa621701c3f11988b5eafdb36e81485b82b..39d3afd1c8ee69ef01d614c248f52b02d8d409fc 100644 (file)
@@ -46,7 +46,7 @@
 #endif
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 
 /* UART */
 #define CFG_MXC_UART_BASE              UART2_BASE
index af5a474cf31e1e797845c3b2e6d65e962875373c..8c75a75a9e595dce935e744333fd323cbd3a3707 100644 (file)
@@ -31,7 +31,7 @@
 #define CFG_I2C_MULTI_BUS
 
 #if !defined(CONFIG_DM_PMIC)
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 #define TQMA6_PFUZE100_I2C_BUS         2
 #endif
 
index 7bfc22c043fe2632e80970c62d9f3f477c70bc0d..30654191a26495529eaa8e6b01f315c6a2630937 100644 (file)
@@ -31,7 +31,7 @@
 #define CFG_SYS_FSL_ESDHC_ADDR USDHC4_BASE_ADDR
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE100_I2C_ADDR    0x08
 
 /* Network */
 #define CFG_FEC_MXC_PHYADDR          0x0