[U-Boot] [PATCH V1 3/3] mx6qsabrelite: set CONFIG_FEC_MXC_PHYMASK
Troy Kisky
troy.kisky at boundarydevices.com
Tue Aug 21 00:48:38 CEST 2012
Different ethernet jacks parts can result in the Micrel
KSZ9021 getting a different phy address. Let's support
all parts.
Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
----
v2: no change
---
include/configs/mx6qsabrelite.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 782abc8..44b8c7f 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -99,7 +99,7 @@
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
-#define CONFIG_FEC_MXC_PHYADDR 6
+#define CONFIG_FEC_MXC_PHYMASK (0xf << 4) /* scan phy 4,5,6,7 */
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
#define CONFIG_PHY_MICREL_KSZ9021
--
1.7.9.5
More information about the U-Boot
mailing list