net: designware: Zap CONFIG_DW_AUTONEG
This symbol is not used anywhere, so remove it. For spear600, remove it from the board file, since the symbol is not defined for spear600 either. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
25af71c4bf
commit
4c9ae24fe8
|
@ -48,9 +48,6 @@ int board_eth_init(bd_t *bis)
|
||||||
|
|
||||||
#if defined(CONFIG_ETH_DESIGNWARE)
|
#if defined(CONFIG_ETH_DESIGNWARE)
|
||||||
u32 interface = PHY_INTERFACE_MODE_MII;
|
u32 interface = PHY_INTERFACE_MODE_MII;
|
||||||
#if defined(CONFIG_DW_AUTONEG)
|
|
||||||
interface = PHY_INTERFACE_MODE_GMII;
|
|
||||||
#endif
|
|
||||||
if (designware_initialize(CONFIG_SPEAR_ETHBASE, interface) >= 0)
|
if (designware_initialize(CONFIG_SPEAR_ETHBASE, interface) >= 0)
|
||||||
ret++;
|
ret++;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -98,11 +98,6 @@
|
||||||
#define CONFIG_MII
|
#define CONFIG_MII
|
||||||
#define CONFIG_PHY_GIGE
|
#define CONFIG_PHY_GIGE
|
||||||
|
|
||||||
/*
|
|
||||||
* Ethernet configuration
|
|
||||||
*/
|
|
||||||
#define CONFIG_DW_AUTONEG
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Commands still not supported in Kconfig
|
* Commands still not supported in Kconfig
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -309,7 +309,6 @@ extern int soft_i2c_gpio_scl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SUNXI_GMAC
|
#ifdef CONFIG_SUNXI_GMAC
|
||||||
#define CONFIG_DW_AUTONEG
|
|
||||||
#define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */
|
#define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */
|
||||||
#define CONFIG_PHY_ADDR 1
|
#define CONFIG_PHY_ADDR 1
|
||||||
#define CONFIG_MII /* MII PHY management */
|
#define CONFIG_MII /* MII PHY management */
|
||||||
|
|
Loading…
Reference in New Issue