[PoC 117/241] global: Migrate CONFIG_MII_DEFAULT_TSEC to CFG

Tom Rini
2022-11-20T14:10:09Z

include/configs/P1010RDB.h | 2 +-
include/configs/ls1021aiot.h | 2 +-
include/configs/ls1021aqds.h | 2 +-
scripts/config_whitelist.txt | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index a486fb7d6bd5..a75e1b8f7a8a 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -350,7 +350,7 @@ extern unsigned long get_sdram_size(void);
#endif

#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
+#define CFG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h
index 0a08619384b6..7a9a89d02390 100644
--- a/include/configs/ls1021aiot.h
+++ b/include/configs/ls1021aiot.h
@@ -71,7 +71,7 @@
*/

#ifdef CONFIG_TSEC_ENET
-#define CONFIG_MII_DEFAULT_TSEC 1
+#define CFG_MII_DEFAULT_TSEC 1
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 9d2622a7d69f..be05ab9de8cb 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -252,7 +252,7 @@
*/

#ifdef CONFIG_TSEC_ENET
-#define CONFIG_MII_DEFAULT_TSEC 3
+#define CFG_MII_DEFAULT_TSEC 3
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index a1b88d29cb15..0380ebb2a6e8 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -125,7 +125,7 @@ CFG_MAX_RAM_BANK_SIZE
CFG_MEMSIZE_IN_BYTES
CFG_MEM_INIT_VALUE
CFG_MFG_ENV_SETTINGS
-CONFIG_MII_DEFAULT_TSEC
+CFG_MII_DEFAULT_TSEC
CONFIG_MIU_2BIT_21_7_INTERLEAVED
CONFIG_MIU_2BIT_INTERLEAVED
CONFIG_MMC_DEFAULT_DEV
--
2.25.1