summaryrefslogtreecommitdiff
path: root/board/gateworks
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 18:13:35 +0300
committerTom Rini <trini@konsulko.com>2022-12-23 18:14:52 +0300
commitaa3efb6c64513ad3d5eb876488a90b2ee2b8ccc0 (patch)
tree4f03a3f4caef601a478921f5e5b4ac35bec09c04 /board/gateworks
parent6d38c69e835b5a918d324da16c34a697aeb3276f (diff)
downloadu-boot-aa3efb6c64513ad3d5eb876488a90b2ee2b8ccc0.tar.xz
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>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index 6ad994af1c..2f046c9c0b 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -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)) {