[PoC 206/241] global: Migrate CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 to CFG

Tom Rini
2022-11-20T14:24:26Z

arch/arm/mach-tegra/tegra30/cpu.c | 2 +-
include/configs/cardhu.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-tegra/tegra30/cpu.c b/arch/arm/mach-tegra/tegra30/cpu.c
index 651edd27ee87..1e2848b5049b 100644
--- a/arch/arm/mach-tegra/tegra30/cpu.c
+++ b/arch/arm/mach-tegra/tegra30/cpu.c
@@ -62,7 +62,7 @@ static void enable_cpu_power_rail(void)
tegra_i2c_ll_write_addr(TPS62366A_I2C_ADDR, 2);
tegra_i2c_ll_write_data(TPS62366A_SET1_DATA, I2C_SEND_2_BYTES);
#endif
-#ifdef CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3
+#ifdef CFG_TEGRA_VDD_CORE_TPS62361B_SET3
tegra_i2c_ll_write_addr(TPS62361B_I2C_ADDR, 2);
tegra_i2c_ll_write_data(TPS62361B_SET3_DATA, I2C_SEND_2_BYTES);
#endif
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index 722e09d43bf3..8079acc47c29 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -11,7 +11,7 @@
#include "tegra30-common.h"

/* VDD core PMIC */
-#define CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3
+#define CFG_TEGRA_VDD_CORE_TPS62361B_SET3

/* High-level configuration options */
#define CFG_TEGRA_BOARD_STRING "NVIDIA Cardhu"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index bb11839ede29..7b609b55e8cf 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -215,7 +215,7 @@ CFG_TEGRA_SLINK_CTRLS
CFG_TEGRA_SPI
CFG_TEGRA_UARTA_GPU
CFG_TEGRA_UARTA_SDIO1
-CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3
+CFG_TEGRA_VDD_CORE_TPS62361B_SET3
CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1
CONFIG_TESTPIN_MASK
CONFIG_TESTPIN_REG
--
2.25.1