From 400eebf10d9bc014d089adb33daf2e450116f14c Mon Sep 17 00:00:00 2001
From: Tim Harvey <tharvey@gateworks.com>
Date: Fri, 29 Apr 2022 09:54:04 -0700
Subject: [PATCH] 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>
---
 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 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
-- 
2.39.5