]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx8ulp_evk: Drop board_phy_config
authorPeng Fan <peng.fan@nxp.com>
Thu, 29 Jan 2026 10:54:10 +0000 (18:54 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 6 Feb 2026 23:29:59 +0000 (20:29 -0300)
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@nxp.com>
board/nxp/imx8ulp_evk/imx8ulp_evk.c

index cd17f6960c75292ed13eeec61efa5a08c28e0209..dc4054b92be37a9d2c3d849dda9ef4bfbd3528ad 100644 (file)
@@ -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)