From: Tim Harvey <tharvey@gateworks.com>
Date: Fri, 29 Apr 2022 16:54:04 +0000 (-0700)
Subject: configs: imx8m{m, n}_venice: remove unneeded CONFIG_FEC_MXC_PHYADDR
X-Git-Tag: v2025.01-rc5-pxa1908~1402^2~46
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=400eebf10d9bc014d089adb33daf2e450116f14c;p=u-boot.git

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

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@gateworks.com>
---

diff --git a/include/configs/imx8mm_venice.h b/include/configs/imx8mm_venice.h
index f3dad25610..856f2adbd2 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 dcb5baf6eb..578302d10a 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