net: designware: Zap CONFIG_DW_AUTONEG
PATCH 1/1 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 <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Joe Hershberger <[email protected]>
--- board/spear/spear600/spear600.c | 3 --- include/configs/axs101.h | 5 ----- include/configs/sunxi-common.h | 1 - 3 files changed, 9 deletions(-)
board/spear/spear600/spear600.c +0 -3
@@ -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
include/configs/axs101.h +0 -5
@@ -100,11 +100,6 @@#define CONFIG_PHY_GIGE /* -* Ethernet configuration -*/ -#define CONFIG_DW_AUTONEG - -/* * Commands still not supported in Kconfig */ #define CONFIG_CMD_FAT
include/configs/sunxi-common.h +0 -1
@@ -309,7 +309,6 @@ extern int soft_i2c_gpio_scl;#endif #ifdef CONFIG_SUNXI_GMAC -#define CONFIG_DW_AUTONEG #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */ #define CONFIG_PHY_ADDR 1#define CONFIG_MII /* MII PHY management */
Signature · 1 line
2.1.4
PATCH 1/1 net: designware: Zap CONFIG_DW_AUTONEG
Quoted 8 lines · Marek Vasut
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 <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>---
Reviewed-by Bin Meng <[email protected]>
Marek Vasut
AppliedPATCH 1/1 net: designware: Zap CONFIG_DW_AUTONEG
Quoted 11 lines · Bin Meng
Quoted 8 lines · Marek Vasut
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 <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>---
Reviewed-by Bin Meng <[email protected]>
Applied, thanks.
Best regards,
Marek Vasut