]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_POWER_PFUZE3000_I2C_ADDR to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:36 +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_PFUZE3000_I2C_ADDR to CFG_POWER_PFUZE3000_I2C_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/power/pmic/pmic_pfuze3000.c
include/configs/cl-som-imx7.h
include/configs/pico-imx7d.h
include/configs/udoo_neo.h

index 1077fa5e9d9869bcefd90311037a1a8d7c5a96b2..a6d97252bc9e644de9f467864a6de9e82aed3bd4 100644 (file)
@@ -23,7 +23,7 @@ int power_pfuze3000_init(unsigned char bus)
        p->name = name;
        p->interface = PMIC_I2C;
        p->number_of_regs = PFUZE3000_NUM_OF_REGS;
-       p->hw.i2c.addr = CONFIG_POWER_PFUZE3000_I2C_ADDR;
+       p->hw.i2c.addr = CFG_POWER_PFUZE3000_I2C_ADDR;
        p->hw.i2c.tx_num = 1;
        p->bus = bus;
 
index 0a667c60b61ba90dcf92a288499ad9964e985eee..280ae1e9cca88930b6c08c5db87ecb893592773a 100644 (file)
@@ -19,7 +19,7 @@
 #define IMX_FEC_BASE                   ENET_IPS_BASE_ADDR
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE3000_I2C_ADDR        0x08
+#define CFG_POWER_PFUZE3000_I2C_ADDR   0x08
 
 #define CFG_SYS_I2C_PCA953X_ADDR       0x20
 #define CFG_SYS_I2C_PCA953X_WIDTH      { {0x20, 16} }
index fd8962e9f7518414280ff238752f279adea39b62..5774184300c2adcf4184af63bffd1a5b55705ff6 100644 (file)
@@ -98,7 +98,7 @@
 #define CFG_SYS_INIT_RAM_SIZE  IRAM_SIZE
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE3000_I2C_ADDR        0x08
+#define CFG_POWER_PFUZE3000_I2C_ADDR   0x08
 
 /* FLASH and environment organization */
 
index 842abb7b7a22a73bc8ad68dc0f2f794572d24b4b..80386414f89fac0569b658d72cc8eb834c2c4f2e 100644 (file)
@@ -62,7 +62,7 @@
 #define CFG_SYS_INIT_RAM_SIZE  IRAM_SIZE
 
 /* PMIC */
-#define CONFIG_POWER_PFUZE3000_I2C_ADDR        0x08
+#define CFG_POWER_PFUZE3000_I2C_ADDR   0x08
 #define PFUZE3000_I2C_BUS      0
 
 #endif                         /* __CONFIG_H */