[PoC 207/241] global: Migrate CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1 to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 15:17:09 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
arch/arm/mach-tegra/tegra30/cpu.c | 2 +-
include/configs/beaver.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 1e2848b5049b..0e6835306b64 100644
--- a/arch/arm/mach-tegra/tegra30/cpu.c
+++ b/arch/arm/mach-tegra/tegra30/cpu.c
@@ -58,7 +58,7 @@ static void enable_cpu_power_rail(void)
writel(reg, &pmc->pmc_cntrl);
/* Set VDD_CORE to 1.200V. */
-#ifdef CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1
+#ifdef CFG_TEGRA_VDD_CORE_TPS62366A_SET1
tegra_i2c_ll_write_addr(TPS62366A_I2C_ADDR, 2);
tegra_i2c_ll_write_data(TPS62366A_SET1_DATA, I2C_SEND_2_BYTES);
#endif
diff --git a/include/configs/beaver.h b/include/configs/beaver.h
index 35af678d2199..cfe47c65f5eb 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -11,7 +11,7 @@
#include "tegra30-common.h"
/* VDD core PMIC */
-#define CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1
+#define CFG_TEGRA_VDD_CORE_TPS62366A_SET1
/* High-level configuration options */
#define CFG_TEGRA_BOARD_STRING "NVIDIA Beaver"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7b609b55e8cf..8bb49acc7595 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -216,7 +216,7 @@ CFG_TEGRA_SPI
CFG_TEGRA_UARTA_GPU
CFG_TEGRA_UARTA_SDIO1
CFG_TEGRA_VDD_CORE_TPS62361B_SET3
-CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1
+CFG_TEGRA_VDD_CORE_TPS62366A_SET1
CONFIG_TESTPIN_MASK
CONFIG_TESTPIN_REG
CONFIG_THOR_RESET_OFF
--
2.25.1
More information about the U-Boot
mailing list