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:
@@ -48,9 +48,6 @@ int board_eth_init(bd_t *bis)
|
||||
|
||||
#if defined(CONFIG_ETH_DESIGNWARE)
|
||||
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)
|
||||
ret++;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user