* [U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG
@ 2015-12-20 2:59 Marek Vasut
2015-12-21 2:06 ` Bin Meng
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2015-12-20 2:59 UTC (permalink / raw)
To: u-boot
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 | 3 ---
include/configs/axs101.h | 5 -----
include/configs/sunxi-common.h | 1 -
3 files changed, 9 deletions(-)
diff --git a/board/spear/spear600/spear600.c b/board/spear/spear600/spear600.c
index fc0918f..858a9ca 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 650d97d..3d6e94f 100644
--- a/include/configs/axs101.h
+++ b/include/configs/axs101.h
@@ -100,11 +100,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 da6ab61..d826a5b 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 */
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG
2015-12-20 2:59 [U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG Marek Vasut
@ 2015-12-21 2:06 ` Bin Meng
2015-12-21 14:20 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Bin Meng @ 2015-12-21 2:06 UTC (permalink / raw)
To: u-boot
On Sun, Dec 20, 2015 at 10:59 AM, Marek Vasut <marex@denx.de> wrote:
> 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>
> ---
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG
2015-12-21 2:06 ` Bin Meng
@ 2015-12-21 14:20 ` Marek Vasut
0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-12-21 14:20 UTC (permalink / raw)
To: u-boot
On Monday, December 21, 2015 at 03:06:26 AM, Bin Meng wrote:
> On Sun, Dec 20, 2015 at 10:59 AM, Marek Vasut <marex@denx.de> wrote:
> > 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>
> > ---
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Applied, thanks.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-21 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 2:59 [U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG Marek Vasut
2015-12-21 2:06 ` Bin Meng
2015-12-21 14:20 ` Marek Vasut
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.