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:
parent
2aac334a9b
commit
4daffb58e6
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -18,7 +18,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#define CONFIG_FEC_ENET_DEV 0
|
||||
#define CFG_FEC_ENET_DEV 0
|
||||
#endif
|
||||
|
||||
/* Environment settings */
|
||||
|
@ -100,7 +100,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#define CONFIG_FEC_ENET_DEV 0
|
||||
#define CFG_FEC_ENET_DEV 0
|
||||
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0x0
|
||||
#endif
|
||||
|
@ -121,11 +121,11 @@
|
||||
#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
|
||||
|
@ -109,7 +109,7 @@
|
||||
/* environment organization */
|
||||
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#define CONFIG_FEC_ENET_DEV 1
|
||||
#define CFG_FEC_ENET_DEV 1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -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" \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user