[PoC 202/241] global: Migrate CONFIG_TEGRA_SLINK_CTRLS to CFG

Tom Rini
2022-11-20T14:23:35Z

include/configs/beaver.h | 2 +-
include/configs/cardhu.h | 2 +-
include/configs/tec-ng.h | 2 +-
scripts/config_whitelist.txt | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/beaver.h b/include/configs/beaver.h
index 43bc8dc32159..35af678d2199 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -21,7 +21,7 @@
#define CFG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE

/* SPI */
-#define CONFIG_TEGRA_SLINK_CTRLS 6
+#define CFG_TEGRA_SLINK_CTRLS 6
#define CFG_SPI_FLASH_SIZE (4 << 20)

#include "tegra-common-post.h"
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index 29d5e011e6ef..722e09d43bf3 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -25,7 +25,7 @@
#define CFG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE

/* SPI */
-#define CONFIG_TEGRA_SLINK_CTRLS 6
+#define CFG_TEGRA_SLINK_CTRLS 6
#define CFG_SPI_FLASH_SIZE (4 << 20)

#include "tegra-common-post.h"
diff --git a/include/configs/tec-ng.h b/include/configs/tec-ng.h
index 22099a86d5f6..8b231e7c77a6 100644
--- a/include/configs/tec-ng.h
+++ b/include/configs/tec-ng.h
@@ -19,7 +19,7 @@
/* Environment in eMMC, at the end of 2nd "boot sector" */

/* SPI */
-#define CONFIG_TEGRA_SLINK_CTRLS 6
+#define CFG_TEGRA_SLINK_CTRLS 6
#define CFG_SPI_FLASH_SIZE (4 << 20)

#include "tegra-common-post.h"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index c3ff80696412..b7f8b290bff3 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -211,7 +211,7 @@ CFG_STD_DEVICES_SETTINGS
CFG_TEGRA_BOARD_STRING
CFG_TEGRA_ENABLE_UARTA
CFG_TEGRA_ENABLE_UARTD
-CONFIG_TEGRA_SLINK_CTRLS
+CFG_TEGRA_SLINK_CTRLS
CONFIG_TEGRA_SPI
CONFIG_TEGRA_UARTA_GPU
CONFIG_TEGRA_UARTA_SDIO1
--
2.25.1