From: Andrejs Cainikovs Date: Mon, 16 Jan 2023 19:05:11 +0000 (+0100) Subject: board: apalis-imx8: remove board_phy_config duplicate X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9607d8b17dc3f583a137a238afc2a5ffc8f82674;p=u-boot.git board: apalis-imx8: remove board_phy_config duplicate Remove a duplicate of weak board_phy_config() implementation in drivers/net/phy/phy.c. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- diff --git a/board/toradex/apalis-imx8/apalis-imx8.c b/board/toradex/apalis-imx8/apalis-imx8.c index 43456e8af9..ad0986eebf 100644 --- a/board/toradex/apalis-imx8/apalis-imx8.c +++ b/board/toradex/apalis-imx8/apalis-imx8.c @@ -199,18 +199,6 @@ static void board_gpio_init(void) static inline void board_gpio_init(void) {} #endif -#if IS_ENABLED(CONFIG_FEC_MXC) -#include - -int board_phy_config(struct phy_device *phydev) -{ - if (phydev->drv->config) - phydev->drv->config(phydev); - - return 0; -} -#endif - /* * Backlight off before OS handover */