Convert CONFIG_PHYLIB et al to Kconfig
This converts the following to Kconfig: CONFIG_PHYLIB CONFIG_BITBANGMII CONFIG_MV88E6352_SWITCH CONFIG_MV88E61XX_SWITCH CONFIG_PHYLIB_10G CONFIG_PHY_AQUANTIA CONFIG_PHY_ATHEROS CONFIG_PHY_BROADCOM CONFIG_PHY_CORTINA CONFIG_PHY_DAVICOM CONFIG_PHY_ET1011C CONFIG_PHY_LXT CONFIG_PHY_MARVELL CONFIG_PHY_MICREL CONFIG_PHY_NATSEMI CONFIG_PHY_REALTEK CONFIG_RTL8211X_PHY_FORCE_MASTER CONFIG_PHY_SMSC CONFIG_PHY_TERANETICS CONFIG_PHY_TI CONFIG_PHY_VITESSE CONFIG_PHY_XILINX Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -12,21 +12,4 @@
|
||||
#ifndef _CONFIG_PHYLIB_ALL_H
|
||||
#define _CONFIG_PHYLIB_ALL_H
|
||||
|
||||
#ifdef CONFIG_PHYLIB
|
||||
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_BROADCOM
|
||||
#define CONFIG_PHY_DAVICOM
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHY_NATSEMI
|
||||
#define CONFIG_PHY_LXT
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#ifdef CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#endif /* CONFIG_PHYLIB_10G */
|
||||
|
||||
#endif /* CONFIG_PHYLIB */
|
||||
|
||||
#endif /*_CONFIG_PHYLIB_ALL_H */
|
||||
|
||||
@@ -586,9 +586,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
#define SGMII_CARD_PORT2_PHY_ADDR 0x10
|
||||
#define SGMII_CARD_PORT3_PHY_ADDR 0x1E
|
||||
|
||||
@@ -288,8 +288,6 @@
|
||||
#define FETH3_RST 0x80
|
||||
#endif /* CONFIG_ETHER_INDEX */
|
||||
|
||||
#define CONFIG_BITBANGMII /* bit-bang MII PHY management */
|
||||
|
||||
/*
|
||||
* GPIO pins used for bit-banged MII communications
|
||||
*/
|
||||
|
||||
@@ -277,10 +277,6 @@ extern unsigned long get_clock_freq(void);
|
||||
/* For FM */
|
||||
#define CONFIG_SYS_DPAA_FMAN
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
#endif
|
||||
|
||||
/* Default address of microcode for the Linux Fman driver */
|
||||
/* QE microcode/firmware address */
|
||||
#define CONFIG_SYS_FMAN_FW_ADDR 0xEFF00000
|
||||
|
||||
@@ -418,12 +418,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
|
||||
#define CONFIG_SYS_QE_FMAN_FW_LENGTH 0x10000
|
||||
#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
#if !defined(CONFIG_DM_PCI)
|
||||
#define CONFIG_FSL_PCI_INIT /* Use common FSL init code */
|
||||
|
||||
@@ -653,10 +653,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
#define SGMII_CARD_AQ_PHY_ADDR_S3 0x3
|
||||
|
||||
@@ -610,7 +610,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#if defined(CONFIG_TARGET_T1024RDB)
|
||||
#define RGMII_PHY1_ADDR 0x2
|
||||
#define RGMII_PHY2_ADDR 0x6
|
||||
|
||||
@@ -540,10 +540,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
#define SGMII_CARD_PORT2_PHY_ADDR 0x10
|
||||
#define SGMII_CARD_PORT3_PHY_ADDR 0x1E
|
||||
|
||||
@@ -654,11 +654,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
|
||||
#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FMAN_ENET
|
||||
#if defined(CONFIG_TARGET_T1040RDB) || defined(CONFIG_TARGET_T1042RDB)
|
||||
#define CONFIG_SYS_SGMII1_PHY_ADDR 0x03
|
||||
|
||||
@@ -587,9 +587,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
#define FM1_10GEC1_PHY_ADDR 0x3
|
||||
|
||||
@@ -536,7 +536,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_CORTINA_FW_LENGTH 0x40000
|
||||
#define RGMII_PHY1_ADDR 0x01 /* RealTek RTL8211E */
|
||||
#define RGMII_PHY2_ADDR 0x02
|
||||
|
||||
@@ -404,9 +404,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
#define SGMII_CARD_PORT2_PHY_ADDR 0x1D
|
||||
#define SGMII_CARD_PORT3_PHY_ADDR 0x1E
|
||||
|
||||
@@ -546,11 +546,8 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif /* CONFIG_NOBQFMAN */
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_CORTINA_FW_ADDR 0xefe00000
|
||||
#define CONFIG_CORTINA_FW_LENGTH 0x40000
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define SGMII_PHY_ADDR1 0x0
|
||||
#define SGMII_PHY_ADDR2 0x1
|
||||
#define SGMII_PHY_ADDR3 0x2
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 4
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
/* Serial Flash */
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -285,9 +285,7 @@
|
||||
/* SPI flash. */
|
||||
|
||||
/* Network. */
|
||||
#define CONFIG_PHY_SMSC
|
||||
/* Enable Atheros phy driver */
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
/*
|
||||
* NOR Size = 16 MiB
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* UART0 */
|
||||
|
||||
/* Ethernet support */
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
/* NAND support */
|
||||
#define CONFIG_SYS_NAND_ONFI_DETECTION 1
|
||||
|
||||
@@ -246,7 +246,6 @@
|
||||
#define CONFIG_BOOTP_DNS2
|
||||
#define CONFIG_BOOTP_SEND_HOSTNAME
|
||||
#define CONFIG_NET_RETRY_COUNT 10
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
/* I2C configuration */
|
||||
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* Main EEPROM */
|
||||
|
||||
@@ -81,6 +81,5 @@
|
||||
#endif
|
||||
|
||||
/* Network. */
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#endif /* ! __CONFIG_AM335X_SL50_H */
|
||||
|
||||
@@ -77,8 +77,6 @@
|
||||
#define CONFIG_SH_ETHER_BASE_ADDR 0xe9a00000
|
||||
#define CONFIG_SH_ETHER_SH7734_MII (0x01)
|
||||
#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
|
||||
#define CONFIG_PHY_SMSC
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -449,7 +449,6 @@ DEFAULT_LINUX_BOOT_ENV \
|
||||
/* SPI flash. */
|
||||
|
||||
/* Network. */
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
/*
|
||||
* NOR Size = 16 MiB
|
||||
|
||||
@@ -79,7 +79,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 6
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
/* Command definition */
|
||||
|
||||
|
||||
@@ -167,6 +167,5 @@
|
||||
#endif
|
||||
|
||||
/* Network. */
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#endif /* ! __CONFIG_CHILIBOARD_H */
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0
|
||||
|
||||
#define CONFIG_PHYLIB
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
/* ENET1 */
|
||||
#define IMX_FEC_BASE ENET_IPS_BASE_ADDR
|
||||
|
||||
|
||||
@@ -165,7 +165,6 @@
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
#define CONFIG_ETHPRIME "FEC0"
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
#define CONFIG_NET_RETRY_COUNT 5
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
/* SPL */
|
||||
|
||||
/* Network. */
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
/* NAND support */
|
||||
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
/* CPSW Ethernet support */
|
||||
#define CONFIG_BOOTP_DEFAULT
|
||||
#define CONFIG_BOOTP_SEND_HOSTNAME
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
#define CONFIG_SYS_RX_ETH_BUFFER 64
|
||||
|
||||
/* USB support */
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "rcar-gen3-common.h"
|
||||
|
||||
/* Ethernet RAVB */
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Environment compatibility */
|
||||
@@ -24,7 +23,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
/*
|
||||
* Software (bit-bang) MII driver configuration
|
||||
*/
|
||||
#define CONFIG_BITBANGMII /* bit-bang MII PHY management */
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* SPL */
|
||||
|
||||
@@ -431,12 +431,6 @@
|
||||
#define CONFIG_SYS_QE_FMAN_FW_LENGTH 0x10000
|
||||
#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
#if !defined(CONFIG_DM_PCI)
|
||||
#define CONFIG_FSL_PCI_INIT /* Use common FSL init code */
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
* Ethernet
|
||||
*/
|
||||
#define CONFIG_RMII
|
||||
#define CONFIG_PHY_SMSC
|
||||
#define CONFIG_LPC32XX_ETH
|
||||
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "rcar-gen3-common.h"
|
||||
|
||||
/* Ethernet RAVB */
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Generic Timer Definitions (use in assembler source) */
|
||||
|
||||
@@ -36,8 +36,6 @@
|
||||
#define EEPROM_ADDR_DDR3 0x90
|
||||
#define EEPROM_ADDR_CHIP 0x120
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_FACTORYSET
|
||||
|
||||
/* Define own nand partitions */
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "rcar-gen3-common.h"
|
||||
|
||||
/* Ethernet RAVB */
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Environment compatibility */
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
/* Ethernet RAVB */
|
||||
#define CONFIG_NET_MULTI
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Generic Timer Definitions (use in assembler source) */
|
||||
|
||||
@@ -47,8 +47,6 @@
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 4
|
||||
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
#define CONFIG_SYS_MEMTEST_START 0x10000000
|
||||
|
||||
@@ -93,8 +93,6 @@
|
||||
#define EEPROM_ADDR_DDR3 0x90
|
||||
#define EEPROM_ADDR_CHIP 0x120
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_FACTORYSET
|
||||
|
||||
/* use both define to compile a SPL compliance test */
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
#endif /* __GRPEACH_H */
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
/* stay within first 1M */
|
||||
#endif
|
||||
|
||||
#define CONFIG_PHY_MARVELL /* there is a marvell phy */
|
||||
#define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */
|
||||
|
||||
/* Keep device tree and initrd in lower memory so the kernel can access them */
|
||||
|
||||
@@ -293,7 +293,6 @@ void fpga_control_clear(unsigned int bus, int pin);
|
||||
/*
|
||||
* Software (bit-bang) MII driver configuration
|
||||
*/
|
||||
#define CONFIG_BITBANGMII /* bit-bang MII PHY management */
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/*
|
||||
|
||||
@@ -82,9 +82,6 @@
|
||||
|
||||
#define CONFIG_PHY_GIGE
|
||||
#define IMX_FEC_BASE 0x30BE0000
|
||||
|
||||
#define CONFIG_PHYLIB
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
#endif
|
||||
|
||||
#define CONFIG_MFG_ENV_SETTINGS \
|
||||
|
||||
@@ -318,8 +318,6 @@ int get_scl(void);
|
||||
#define CONFIG_SYS_QE_FMAN_FW_LENGTH 0x10000
|
||||
#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
|
||||
|
||||
#define CONFIG_PHYLIB_10G
|
||||
|
||||
#define CONFIG_PCI_INDIRECT_BRIDGE
|
||||
|
||||
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -143,8 +143,6 @@
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0x0
|
||||
#define CONFIG_FEC_XCV_TYPE RMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
#endif
|
||||
|
||||
#define CONFIG_IMX_THERMAL
|
||||
|
||||
@@ -174,8 +174,6 @@
|
||||
|
||||
#define CONFIG_ETHPRIME "eTSEC2"
|
||||
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#define CONFIG_HAS_ETH0
|
||||
#define CONFIG_HAS_ETH1
|
||||
#define CONFIG_HAS_ETH2
|
||||
|
||||
@@ -419,8 +419,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#define CONFIG_ETHPRIME "eTSEC1"
|
||||
|
||||
#define CONFIG_PHY_REALTEK
|
||||
|
||||
#define CONFIG_HAS_ETH0
|
||||
#define CONFIG_HAS_ETH1
|
||||
#define CONFIG_HAS_ETH2
|
||||
|
||||
@@ -35,9 +35,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
|
||||
@@ -258,11 +258,6 @@
|
||||
#ifndef SPL_NO_FMAN
|
||||
#define AQR105_IRQ_MASK 0x40000000
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
|
||||
@@ -52,9 +52,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
|
||||
@@ -170,11 +170,6 @@
|
||||
#define AQR105_IRQ_MASK 0x80000000
|
||||
/* FMan */
|
||||
#ifndef SPL_NO_FMAN
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
|
||||
@@ -549,11 +549,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#ifdef CONFIG_FSL_MC_ENET
|
||||
#define CONFIG_FSL_MEMAC
|
||||
#define CONFIG_PHYLIB
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define RGMII_PHY1_ADDR 0x1
|
||||
#define RGMII_PHY2_ADDR 0x2
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
|
||||
@@ -522,9 +522,6 @@
|
||||
|
||||
/* MAC/PHY configuration */
|
||||
#ifdef CONFIG_FSL_MC_ENET
|
||||
#define CONFIG_PHYLIB
|
||||
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define AQ_PHY_ADDR1 0x00
|
||||
#define AQR105_IRQ_MASK 0x00000004
|
||||
|
||||
|
||||
@@ -479,10 +479,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
|
||||
#define CONFIG_FSL_MEMAC
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
#define SGMII_CARD_PORT1_PHY_ADDR 0x1C
|
||||
#define SGMII_CARD_PORT2_PHY_ADDR 0x1d
|
||||
#define SGMII_CARD_PORT3_PHY_ADDR 0x1E
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
/* Framebuffer */
|
||||
#define CONFIG_VIDEO_BMP_RLE8
|
||||
|
||||
@@ -134,8 +134,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
|
||||
@@ -157,8 +157,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
|
||||
@@ -66,7 +66,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE MII100
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0x5
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#ifndef CONFIG_SPL
|
||||
#define CONFIG_ENV_EEPROM_IS_ON_I2C
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#if defined(CONFIG_TWR_P1025)
|
||||
#define CONFIG_BOARDNAME "TWR-P1025"
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
#define CONFIG_SYS_LBC_LBCR 0x00080000 /* Conversion of LBC addr */
|
||||
#define CONFIG_SYS_LBC_LCRR 0x80000002 /* LB clock ratio reg */
|
||||
#endif
|
||||
|
||||
@@ -128,6 +128,4 @@
|
||||
#define CONFIG_AM335X_USB1
|
||||
#define CONFIG_AM335X_USB1_MODE MUSB_HOST
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#endif /* ! __CONFIG_PCM051_H */
|
||||
|
||||
@@ -162,7 +162,5 @@
|
||||
|
||||
/* Network */
|
||||
#define CONFIG_PHY_RESET 1
|
||||
#define CONFIG_PHY_NATSEMI
|
||||
#define CONFIG_PHY_REALTEK
|
||||
|
||||
#endif /* ! __CONFIG_PENGWYN_H */
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
/*-----------------------------------------------------------------------
|
||||
* Networking Configuration
|
||||
*/
|
||||
#define CONFIG_PHY_SMSC
|
||||
#define CONFIG_SYS_RX_ETH_BUFFER 8
|
||||
#define CONFIG_NET_RETRY_COUNT 20
|
||||
#define CONFIG_ARP_TIMEOUT 500 /* millisec */
|
||||
|
||||
@@ -146,8 +146,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 1
|
||||
#define CONFIG_PHYLIB
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
/* Framebuffer */
|
||||
#define CONFIG_VIDEO_BMP_RLE8
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -36,8 +36,6 @@
|
||||
#define CONFIG_SYS_I2C_SPEED 400000
|
||||
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
|
||||
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#define CONFIG_FACTORYSET
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
|
||||
@@ -41,8 +41,6 @@
|
||||
#define EEPROM_ADDR_DDR3 0x90
|
||||
#define EEPROM_ADDR_CHIP 0x120
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_FACTORYSET
|
||||
|
||||
/* Define own nand partitions */
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 6 /* 64 byte pages */
|
||||
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 /* take up to 10 msec */
|
||||
|
||||
#define CONFIG_PHY_NATSEMI
|
||||
|
||||
#define CONFIG_FACTORYSET
|
||||
|
||||
/* Watchdog */
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "rcar-gen3-common.h"
|
||||
|
||||
/* Ethernet RAVB */
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Generic Timer Definitions (use in assembler source) */
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
/* FEC Ethernet on SoC */
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#define CONFIG_FEC_MXC
|
||||
#define CONFIG_PHY_SMSC
|
||||
#endif
|
||||
|
||||
/* USB */
|
||||
|
||||
@@ -43,10 +43,8 @@
|
||||
#define CONFIG_SH_ETHER_PHY_ADDR 18
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK 1
|
||||
#define CONFIG_SH_ETHER_USE_GETHER 1
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RGMII
|
||||
#define CONFIG_PHY_VITESSE
|
||||
|
||||
#define SH7752EVB_ETHERNET_MAC_BASE_SPI 0x00090000
|
||||
#define SH7752EVB_SPI_SECTOR_SIZE (64 * 1024)
|
||||
|
||||
@@ -43,10 +43,8 @@
|
||||
#define CONFIG_SH_ETHER_PHY_ADDR 18
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK 1
|
||||
#define CONFIG_SH_ETHER_USE_GETHER 1
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RGMII
|
||||
#define CONFIG_PHY_VITESSE
|
||||
|
||||
#define SH7753EVB_ETHERNET_MAC_BASE_SPI 0x00090000
|
||||
#define SH7753EVB_SPI_SECTOR_SIZE (64 * 1024)
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CONFIG_SH_ETHER_PHY_ADDR 1
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK 1
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
|
||||
|
||||
|
||||
@@ -64,7 +64,6 @@
|
||||
/* Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT (1)
|
||||
#define CONFIG_SH_ETHER_PHY_ADDR (0x01)
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#define CONFIG_SYS_NAND_BASE 0xD2000000
|
||||
|
||||
/* Ethernet PHY configuration */
|
||||
#define CONFIG_PHY_NATSEMI
|
||||
|
||||
/* Environment Settings */
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
|
||||
#define CONFIG_DW_GMAC_DEFAULT_DMA_PBL (8)
|
||||
#define CONFIG_DW_ALTDESCRIPTOR
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
||||
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
||||
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Board Clock */
|
||||
|
||||
@@ -326,7 +326,6 @@ void fpga_control_clear(unsigned int bus, int pin);
|
||||
/*
|
||||
* Software (bit-bang) MII driver configuration
|
||||
*/
|
||||
#define CONFIG_BITBANGMII /* bit-bang MII PHY management */
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/*
|
||||
|
||||
@@ -272,10 +272,6 @@ extern int soft_i2c_gpio_scl;
|
||||
|
||||
/* Ethernet support */
|
||||
|
||||
#ifdef CONFIG_SUN7I_GMAC
|
||||
#define CONFIG_PHY_REALTEK
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_EHCI_HCD
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
* Until Realtek PHY driver is fixed fall back to generic PHY driver
|
||||
* which implements all required functionality and behaves much more stable.
|
||||
*
|
||||
* #define CONFIG_PHY_REALTEK
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
#define EEPROM_ADDR_DDR3 0x90
|
||||
#define EEPROM_ADDR_CHIP 0x120
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_FACTORYSET
|
||||
|
||||
/* Define own nand partitions */
|
||||
|
||||
@@ -152,7 +152,6 @@
|
||||
#define CONFIG_BOOTP_DNS2
|
||||
#define CONFIG_BOOTP_SEND_HOSTNAME
|
||||
#define CONFIG_NET_RETRY_COUNT 10
|
||||
#define CONFIG_PHY_ET1011C
|
||||
#define CONFIG_PHY_ET1011C_TX_CLK_FIX
|
||||
|
||||
#endif /* ! __CONFIG_TI814X_EVM_H */
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0x01
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
/* UART */
|
||||
#define CONFIG_MXC_UART_BASE UART4_BASE
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
/*
|
||||
* Eth Configs
|
||||
*/
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_FEC_MXC
|
||||
#define IMX_FEC_BASE FEC_BASE_ADDR
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
#define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
|
||||
#define CONFIG_ARP_TIMEOUT 200
|
||||
#define CONFIG_NET_RETRY_COUNT 50
|
||||
#define CONFIG_PHY_MARVELL
|
||||
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT (3 + 3)
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "rcar-gen3-common.h"
|
||||
|
||||
/* Ethernet RAVB */
|
||||
#define CONFIG_BITBANGMII
|
||||
#define CONFIG_BITBANGMII_MULTI
|
||||
|
||||
/* Generic Timer Definitions (use in assembler source) */
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
/* USB device */
|
||||
|
||||
/* Ethernet Hardware */
|
||||
#define CONFIG_PHY_SMSC
|
||||
#define CONFIG_MACB
|
||||
#define CONFIG_RMII
|
||||
#define CONFIG_NET_RETRY_COUNT 20
|
||||
|
||||
@@ -64,8 +64,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
|
||||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
#define CONFIG_MXC_USB_FLAGS 0
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
* Ethernet Driver
|
||||
*/
|
||||
|
||||
#define CONFIG_PHY_SMSC
|
||||
#define CONFIG_LPC32XX_ETH
|
||||
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
|
||||
/* FIXME: remove "Waiting for PHY auto negotiation to complete..." message */
|
||||
|
||||
@@ -60,7 +60,6 @@
|
||||
|
||||
/* Environment in SPI NOR flash */
|
||||
|
||||
#define CONFIG_PHY_MARVELL /* there is a marvell phy */
|
||||
#define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */
|
||||
|
||||
/* PCIe support */
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0x0
|
||||
#define CONFIG_FEC_XCV_TYPE RMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_IMX_THERMAL
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE MII100
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0
|
||||
#define CONFIG_MV88E6352_SWITCH
|
||||
|
||||
#define CONFIG_PCI_SCAN_SHOW
|
||||
#define CONFIG_PCIE_IMX
|
||||
|
||||
Reference in New Issue
Block a user