[PoC 203/241] global: Migrate CONFIG_TEGRA_SPI to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:17:05 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/mach-tegra/board2.c        | 2 +-
 include/configs/tegra-common-post.h | 2 +-
 scripts/config_whitelist.txt        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c
index c7a45f4ff82a..615d0ee43c0e 100644
--- a/arch/arm/mach-tegra/board2.c
+++ b/arch/arm/mach-tegra/board2.c
@@ -125,7 +125,7 @@ int board_init(void)
 
 	tegra_gpu_config();
 
-#ifdef CONFIG_TEGRA_SPI
+#ifdef CFG_TEGRA_SPI
 	pin_mux_spi();
 #endif
 
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 31c82822a2af..69fbe57e2649 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -74,7 +74,7 @@
 	BOARD_EXTRA_ENV_SETTINGS
 
 #if defined(CONFIG_TEGRA20_SFLASH) || defined(CONFIG_TEGRA20_SLINK) || defined(CONFIG_TEGRA114_SPI)
-#define CONFIG_TEGRA_SPI
+#define CFG_TEGRA_SPI
 #endif
 
 #endif /* __TEGRA_COMMON_POST_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b7f8b290bff3..2acc5a7412d6 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -212,7 +212,7 @@ CFG_TEGRA_BOARD_STRING
 CFG_TEGRA_ENABLE_UARTA
 CFG_TEGRA_ENABLE_UARTD
 CFG_TEGRA_SLINK_CTRLS
-CONFIG_TEGRA_SPI
+CFG_TEGRA_SPI
 CONFIG_TEGRA_UARTA_GPU
 CONFIG_TEGRA_UARTA_SDIO1
 CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3
-- 
2.25.1



More information about the U-Boot mailing list