[PATCH] configs: imx8m{m, n}_venice: remove unneeded CONFIG_FEC_MXC_PHYADDR

Tim Harvey tharvey at gateworks.com
Fri Apr 29 18:54:04 CEST 2022


The IMX8M based Venice boards all have device-tree fec nodes that
use proper dt with a phy-handle pointing to a phy with reg assigned
to the proper phy address.

There is no need to keep using the CONFIG_FEC_MXC_PHYADDR hack when
a proper dt is used - remove it.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 include/configs/imx8mm_venice.h | 1 -
 include/configs/imx8mn_venice.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/configs/imx8mm_venice.h b/include/configs/imx8mm_venice.h
index 1b26e0280e1c..28417c55b9b6 100644
--- a/include/configs/imx8mm_venice.h
+++ b/include/configs/imx8mm_venice.h
@@ -112,7 +112,6 @@
 					sizeof(CONFIG_SYS_PROMPT) + 16)
 
 /* FEC */
-#define CONFIG_FEC_MXC_PHYADDR          0
 #define FEC_QUIRK_ENET_MAC
 
 #endif
diff --git a/include/configs/imx8mn_venice.h b/include/configs/imx8mn_venice.h
index a4826779022a..0379c27f11a5 100644
--- a/include/configs/imx8mn_venice.h
+++ b/include/configs/imx8mn_venice.h
@@ -108,7 +108,6 @@
 					sizeof(CONFIG_SYS_PROMPT) + 16)
 
 /* FEC */
-#define CONFIG_FEC_MXC_PHYADDR          0
 #define FEC_QUIRK_ENET_MAC
 
 #endif
-- 
2.17.1



More information about the U-Boot mailing list