summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2016-04-06 18:59:32 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2016-09-18 13:45:14 +0200
commitd63a810c7bbefbb4debf45cce20098f7adceefbe (patch)
treeec6408d6b3227881d0fa3c3b34aa36cf7234925b
parent5da39118172811a2fe32a4eeaee7193f8cb413ed (diff)
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.
-rw-r--r--include/configs/sunxi-common.h1
1 files changed, 0 insertions, 1 deletions
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