global: Migrate CONFIG_FEC_ENET_DEV to CFG

Perform a simple rename of CONFIG_FEC_ENET_DEV to CFG_FEC_ENET_DEV

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:03:52 -05:00
parent 2aac334a9b
commit 4daffb58e6
11 changed files with 13 additions and 13 deletions

View File

@ -281,7 +281,7 @@ int board_init(void)
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
#ifdef CONFIG_FEC_MXC #ifdef CONFIG_FEC_MXC
setup_fec(CONFIG_FEC_ENET_DEV); setup_fec(CFG_FEC_ENET_DEV);
#endif #endif
#ifdef CONFIG_USB_EHCI_MX6 #ifdef CONFIG_USB_EHCI_MX6

View File

@ -110,7 +110,7 @@ int board_init(void)
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
#ifdef CONFIG_FEC_MXC #ifdef CONFIG_FEC_MXC
setup_fec(CONFIG_FEC_ENET_DEV); setup_fec(CFG_FEC_ENET_DEV);
#endif #endif
return 0; return 0;

View File

@ -100,7 +100,7 @@ int board_init(void)
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
#ifdef CONFIG_FEC_MXC #ifdef CONFIG_FEC_MXC
setup_fec(CONFIG_FEC_ENET_DEV); setup_fec(CFG_FEC_ENET_DEV);
#endif #endif
return 0; return 0;

View File

@ -147,7 +147,7 @@ int board_init(void)
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
#ifdef CONFIG_FEC_MXC #ifdef CONFIG_FEC_MXC
setup_fec(CONFIG_FEC_ENET_DEV); setup_fec(CFG_FEC_ENET_DEV);
#endif #endif
#ifdef CONFIG_NAND_MXS #ifdef CONFIG_NAND_MXS

View File

@ -19,7 +19,7 @@
#endif /* CONFIG_SPL_BUILD */ #endif /* CONFIG_SPL_BUILD */
/* ENET1 connects to base board and MUX with ESAI */ /* 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 #define CONFIG_FEC_MXC_PHYADDR 0x0
/* EEPROM */ /* EEPROM */

View File

@ -18,7 +18,7 @@
#endif #endif
#ifdef CONFIG_CMD_NET #ifdef CONFIG_CMD_NET
#define CONFIG_FEC_ENET_DEV 0 #define CFG_FEC_ENET_DEV 0
#endif #endif
/* Environment settings */ /* Environment settings */

View File

@ -100,7 +100,7 @@
#endif #endif
#ifdef CONFIG_CMD_NET #ifdef CONFIG_CMD_NET
#define CONFIG_FEC_ENET_DEV 0 #define CFG_FEC_ENET_DEV 0
#define CONFIG_FEC_MXC_PHYADDR 0x0 #define CONFIG_FEC_MXC_PHYADDR 0x0
#endif #endif

View File

@ -121,11 +121,11 @@
#endif #endif
#ifdef CONFIG_CMD_NET #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 #define CONFIG_FEC_MXC_PHYADDR 0x2
#elif (CONFIG_FEC_ENET_DEV == 1) #elif (CFG_FEC_ENET_DEV == 1)
#define CONFIG_FEC_MXC_PHYADDR 0x1 #define CONFIG_FEC_MXC_PHYADDR 0x1
#endif #endif
#endif #endif

View File

@ -109,7 +109,7 @@
/* environment organization */ /* environment organization */
#ifdef CONFIG_CMD_NET #ifdef CONFIG_CMD_NET
#define CONFIG_FEC_ENET_DEV 1 #define CFG_FEC_ENET_DEV 1
#endif #endif
#endif #endif

View File

@ -36,7 +36,7 @@
#define CONFIG_FEC_MXC_PHYADDR 0x1 #define CONFIG_FEC_MXC_PHYADDR 0x1
#endif #endif
#define CONFIG_FEC_ENET_DEV 1 #define CFG_FEC_ENET_DEV 1
#define CFG_EXTRA_ENV_SETTINGS \ #define CFG_EXTRA_ENV_SETTINGS \
"console=ttymxc0,115200n8\0" \ "console=ttymxc0,115200n8\0" \

View File

@ -31,7 +31,7 @@
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS 0 #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 CONFIG_FEC_MXC_PHYADDR 0x0
#define CFG_EXTRA_ENV_SETTINGS \ #define CFG_EXTRA_ENV_SETTINGS \