summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-20 03:59:41 +0100
committerMarek Vasut <marex@denx.de>2015-12-22 04:42:27 +0100
commit4c9ae24fe8e171b87389cae596b07423e5a0ea73 (patch)
treee479f0b41294f2f2b4cd3008a7e48519649d977d
parent25af71c4bfcd54a88cc9098f23416fe9d1f7d80c (diff)
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>
-rw-r--r--board/spear/spear600/spear600.c3
-rw-r--r--include/configs/axs101.h5
-rw-r--r--include/configs/sunxi-common.h1
3 files changed, 0 insertions, 9 deletions
diff --git a/board/spear/spear600/spear600.c b/board/spear/spear600/spear600.c
index fc0918f91d..858a9cae76 100644
--- a/board/spear/spear600/spear600.c
+++ b/board/spear/spear600/spear600.c
@@ -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
diff --git a/include/configs/axs101.h b/include/configs/axs101.h
index eeb2ae6353..ee2a9c0433 100644
--- a/include/configs/axs101.h
+++ b/include/configs/axs101.h
@@ -99,11 +99,6 @@
#define CONFIG_PHY_GIGE
/*
- * Ethernet configuration
- */
-#define CONFIG_DW_AUTONEG
-
-/*
* Commands still not supported in Kconfig
*/
#define CONFIG_CMD_FAT
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 46f7994222..921d912d96 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -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 */