[PoC 134/241] global: Migrate CONFIG_NETDEV to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:07:24 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/MPC837XERDB.h | 4 ++--
 scripts/config_whitelist.txt  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 4c3acd5b013b..1f6efd7e098f 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -223,7 +223,7 @@
  * Environment Configuration
  */
 
-#define CONFIG_NETDEV		"eth1"
+#define CFG_NETDEV		"eth1"
 
 #define CFG_HOSTNAME		"mpc837x_rdb"
 #define CONFIG_ROOTPATH		"/nfsroot"
@@ -232,7 +232,7 @@
 #define CFG_FDTFILE		"mpc8379_rdb.dtb"
 
 #define CFG_EXTRA_ENV_SETTINGS \
-	"netdev=" CONFIG_NETDEV "\0"				\
+	"netdev=" CFG_NETDEV "\0"				\
 	"uboot=" CONFIG_UBOOTPATH "\0"					\
 	"tftpflash=tftp $loadaddr $uboot;"				\
 		"protect off " __stringify(CONFIG_TEXT_BASE)	\
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e7d5f9ba57ca..c8e0a85c124c 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -143,7 +143,7 @@ CFG_MXC_USB_PORT
 CFG_MXC_USB_PORTSC
 CFG_NAND_6BYTES_OOB_FREE_10BYTES_ECC
 CFG_NAND_CS_INIT
-CONFIG_NETDEV
+CFG_NETDEV
 CONFIG_NETMASK
 CONFIG_NORBOOT
 CONFIG_NUM_DSP_CPUS
-- 
2.25.1



More information about the U-Boot mailing list