[PATCH v1] imx: set CONFIG_FEC_MXC_PHYADDR to -1

Oliver Graute oliver.graute at kococonnector.com
Fri Jan 31 14:56:56 CET 2020


This fix the following issue on the imx8qm_rom7720 board:

Booting from net ...
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Can't find FEC0 clk rate: -19

This fix is necessary because of the changes introduced by commit:

1f60789602e0d5f5f9a8b507f25737c65b5d8daa.

Signed-off-by: Oliver Graute <oliver.graute at kococonnector.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Peng Fan <peng.fan at nxp.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Ye Li <ye.li at nxp.com>
Cc: uboot-imx <uboot-imx at nxp.com>
---
 include/configs/imx8qm_rom7720.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/imx8qm_rom7720.h b/include/configs/imx8qm_rom7720.h
index 865863eb7c..d503ddbffe 100644
--- a/include/configs/imx8qm_rom7720.h
+++ b/include/configs/imx8qm_rom7720.h
@@ -171,6 +171,7 @@
 
 /* Networking */
 #define CONFIG_FEC_XCV_TYPE		RGMII
+#define CONFIG_FEC_MXC_PHYADDR		-1
 #define FEC_QUIRK_ENET_MAC
 
 #endif /* __IMX8QM_ROM7720_H */
-- 
2.17.1



More information about the U-Boot mailing list