[PATCH 08/12] imx8ulp_evk: Drop board_phy_config

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Jan 22 02:05:51 CET 2026


From: Peng Fan <peng.fan at nxp.com>

There is already a weak function in drivers/net/phy/phy.c, which
does the same thing. So drop it.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 board/freescale/imx8ulp_evk/imx8ulp_evk.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/board/freescale/imx8ulp_evk/imx8ulp_evk.c b/board/freescale/imx8ulp_evk/imx8ulp_evk.c
index cd17f6960c7..dc4054b92be 100644
--- a/board/freescale/imx8ulp_evk/imx8ulp_evk.c
+++ b/board/freescale/imx8ulp_evk/imx8ulp_evk.c
@@ -4,14 +4,10 @@
  */
 
 #include <env.h>
-#include <miiphy.h>
-#include <netdev.h>
 #include <asm/arch/imx8ulp-pins.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/pcc.h>
 #include <asm/arch/sys_proto.h>
-#include <miiphy.h>
-#include <netdev.h>
 #include <asm/gpio.h>
 
 #if IS_ENABLED(CONFIG_FEC_MXC)
@@ -38,13 +34,6 @@ static int setup_fec(void)
 
 	return 0;
 }
-
-int board_phy_config(struct phy_device *phydev)
-{
-	if (phydev->drv->config)
-		phydev->drv->config(phydev);
-	return 0;
-}
 #endif
 
 #define I2C_PAD_CTRL	(PAD_CTL_ODE)

-- 
2.51.0



More information about the U-Boot mailing list