global: Migrate CONFIG_FEC_ENET_DEV to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:52 +0000 (10:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:09:42 +0000 (10:09 -0500)
Perform a simple rename of CONFIG_FEC_ENET_DEV to CFG_FEC_ENET_DEV

Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
board/freescale/mx6ullevk/mx6ullevk.c
board/seeed/npi_imx6ull/npi_imx6ull.c
board/variscite/dart_6ul/dart_6ul.c
include/configs/capricorn-common.h
include/configs/dart_6ul.h
include/configs/liteboard.h
include/configs/mx6ul_14x14_evk.h
include/configs/mx6ullevk.h
include/configs/npi_imx6ull.h
include/configs/xpress.h

index 1eec048..570b501 100644 (file)
@@ -281,7 +281,7 @@ int board_init(void)
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
 #ifdef CONFIG_FEC_MXC
-       setup_fec(CONFIG_FEC_ENET_DEV);
+       setup_fec(CFG_FEC_ENET_DEV);
 #endif
 
 #ifdef CONFIG_USB_EHCI_MX6
index 86c11c7..e247380 100644 (file)
@@ -110,7 +110,7 @@ int board_init(void)
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
 #ifdef CONFIG_FEC_MXC
-       setup_fec(CONFIG_FEC_ENET_DEV);
+       setup_fec(CFG_FEC_ENET_DEV);
 #endif
 
        return 0;
index eb9ee55..c610d2c 100644 (file)
@@ -100,7 +100,7 @@ int board_init(void)
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
 #ifdef CONFIG_FEC_MXC
-       setup_fec(CONFIG_FEC_ENET_DEV);
+       setup_fec(CFG_FEC_ENET_DEV);
 #endif
 
        return 0;
index 7326daa..98d8d1c 100644 (file)
@@ -147,7 +147,7 @@ int board_init(void)
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
 #ifdef CONFIG_FEC_MXC
-       setup_fec(CONFIG_FEC_ENET_DEV);
+       setup_fec(CFG_FEC_ENET_DEV);
 #endif
 
 #ifdef CONFIG_NAND_MXS
index a8273a7..63afa6e 100644 (file)
@@ -19,7 +19,7 @@
 #endif /* CONFIG_SPL_BUILD */
 
 /* ENET1 connects to base board and MUX with ESAI */
-#define CONFIG_FEC_ENET_DEV            1
+#define CFG_FEC_ENET_DEV               1
 #define CONFIG_FEC_MXC_PHYADDR         0x0
 
 /* EEPROM */
index 323703a..c2ed9c7 100644 (file)
@@ -18,7 +18,7 @@
 #endif
 
 #ifdef CONFIG_CMD_NET
-#define CONFIG_FEC_ENET_DEV            0
+#define CFG_FEC_ENET_DEV               0
 #endif
 
 /* Environment settings */
index 938ab5a..7200c69 100644 (file)
 #endif
 
 #ifdef CONFIG_CMD_NET
-#define CONFIG_FEC_ENET_DEV            0
+#define CFG_FEC_ENET_DEV               0
 
 #define CONFIG_FEC_MXC_PHYADDR         0x0
 #endif
index 90c7884..efc599f 100644 (file)
 #endif
 
 #ifdef CONFIG_CMD_NET
-#define CONFIG_FEC_ENET_DEV            1
+#define CFG_FEC_ENET_DEV               1
 
-#if (CONFIG_FEC_ENET_DEV == 0)
+#if (CFG_FEC_ENET_DEV == 0)
 #define CONFIG_FEC_MXC_PHYADDR          0x2
-#elif (CONFIG_FEC_ENET_DEV == 1)
+#elif (CFG_FEC_ENET_DEV == 1)
 #define CONFIG_FEC_MXC_PHYADDR         0x1
 #endif
 #endif
index 4a27fd2..58d1a74 100644 (file)
 /* environment organization */
 
 #ifdef CONFIG_CMD_NET
-#define CONFIG_FEC_ENET_DEV            1
+#define CFG_FEC_ENET_DEV               1
 #endif
 
 #endif
index a12e34b..979512c 100644 (file)
@@ -36,7 +36,7 @@
 #define CONFIG_FEC_MXC_PHYADDR         0x1
 #endif
 
-#define CONFIG_FEC_ENET_DEV            1
+#define CFG_FEC_ENET_DEV               1
 
 #define CFG_EXTRA_ENV_SETTINGS \
        "console=ttymxc0,115200n8\0" \
index 0d72008..13f0ee6 100644 (file)
@@ -31,7 +31,7 @@
 #define CONFIG_MXC_USB_PORTSC          (PORT_PTS_UTMI | PORT_PTS_PTW)
 #define CONFIG_MXC_USB_FLAGS           0
 
-#define CONFIG_FEC_ENET_DEV            0
+#define CFG_FEC_ENET_DEV               0
 #define CONFIG_FEC_MXC_PHYADDR          0x0
 
 #define CFG_EXTRA_ENV_SETTINGS \