]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 1eec048a66fab40838640737df12b40a778be423..570b5014dbb1180852713bdb265ec5574ebf139c 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 86c11c7bd3a58e226b64ea1e212412758413964e..e2473806475735d0b10f2a722a13bd36de2ca7bc 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 eb9ee555c854ab3f88b3eec067dc8d00694e5df1..c610d2c30696b7d0c23943ab510ab7236077b243 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 7326daa1798d926aa6a45504d36e7ad7afa63685..98d8d1c31205758af7b888f17adbf19e854f7c4e 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 a8273a7fcd8d7f7e785a7a01474c41f9056d277e..63afa6e18969a00331724f586284a175a7fcd89b 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 323703ac5c9004e67db0eaffd578262376f468eb..c2ed9c7c56af3b2183f169cc927ea9d679e70186 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 938ab5ade9a7ad4fa2abdb3822b2fee2bc683b17..7200c69bd9e69f61427bd0fc7ed1fc3c48f9b0d0 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 90c78846871027f4a95eaea7142ea415042a024d..efc599f37a6d4c25487e5834dd397d7da3170b1a 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 4a27fd22902bbe1076c51b2993175029a11037ca..58d1a744ae990ae860892eff6a9ae24a02fd81e9 100644 (file)
 /* environment organization */
 
 #ifdef CONFIG_CMD_NET
-#define CONFIG_FEC_ENET_DEV            1
+#define CFG_FEC_ENET_DEV               1
 #endif
 
 #endif
index a12e34b6e607c44069d50ce2812f77dd5b9176a2..979512c0a0952cfa6bf29420079f676c59bb3f40 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 0d72008bb46645bb7da533046b8b8c76d1fb8c20..13f0ee62b89ff758c11f063995f14fc43494ca27 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 \