global: Migrate CONFIG_POWER_PFUZE100_I2C_ADDR to CFG

Perform a simple rename of CONFIG_POWER_PFUZE100_I2C_ADDR to CFG_POWER_PFUZE100_I2C_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:13:35 -05:00
parent 6d38c69e83
commit aa3efb6c64
11 changed files with 12 additions and 12 deletions

View 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)) {

View 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;

View 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 */

View 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 */

View 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 */

View 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 */

View 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 */

View 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

View 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

View 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

View 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