From: Peng Fan <[email protected]> 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 <[email protected]> --- 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

