]> git.sur5r.net Git - u-boot/commitdiff
net: designware: Zap CONFIG_DW_AUTONEG
authorMarek Vasut <marex@denx.de>
Sun, 20 Dec 2015 02:59:41 +0000 (03:59 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 03:42:27 +0000 (04:42 +0100)
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>
board/spear/spear600/spear600.c
include/configs/axs101.h
include/configs/sunxi-common.h

index fc0918f91d895f7983636aac6ab8f930197b5fea..858a9cae76ab5eb9874b530a0b632f3f04f9e777 100644 (file)
@@ -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
index eeb2ae63530af363c9d5cb233a365a83e224f2c5..ee2a9c04336490b9a3664842a9146d1fd5bfa2b4 100644 (file)
 #define CONFIG_MII
 #define CONFIG_PHY_GIGE
 
-/*
- * Ethernet configuration
- */
-#define CONFIG_DW_AUTONEG
-
 /*
  * Commands still not supported in Kconfig
  */
index 46f799422211b7a033f24fda981937c309bdfff0..921d912d96f2d661508381aa1f256ae2365479fe 100644 (file)
@@ -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           */