From d63a810c7bbefbb4debf45cce20098f7adceefbe Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Wed, 6 Apr 2016 18:59:32 +0200 Subject: sunxi: Do not define CONFIG_PHY_ADDR for SUNXI_GMAC We can not define CONFIG_PHY_ADDR in sunxi-common.h, as this will break devices that have a different PHY_ADDR and rely on the PHY address autodetection (phy_find_by_mask) to detect the address. --- include/configs/sunxi-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 5498ac6dcf..7fd1cd1f7e 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -315,7 +315,6 @@ extern int soft_i2c_gpio_scl; #ifdef CONFIG_SUNXI_GMAC #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */ -#define CONFIG_PHY_ADDR 1 #define CONFIG_MII /* MII PHY management */ #define CONFIG_PHY_REALTEK #endif -- cgit v1.2.3