]> git.baikalelectronics.ru Git - uboot.git/commitdiff
board: apalis-imx8: remove board_phy_config duplicate
authorAndrejs Cainikovs <andrejs.cainikovs@toradex.com>
Mon, 16 Jan 2023 19:05:11 +0000 (20:05 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 20:02:27 +0000 (21:02 +0100)
Remove a duplicate of weak board_phy_config() implementation
in drivers/net/phy/phy.c.

Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/toradex/apalis-imx8/apalis-imx8.c

index 43456e8af9958dc8dc757608d34c66507ef804fc..ad0986eebfc1c9d7eb8002b276973d183b5a289c 100644 (file)
@@ -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 <miiphy.h>
-
-int board_phy_config(struct phy_device *phydev)
-{
-       if (phydev->drv->config)
-               phydev->drv->config(phydev);
-
-       return 0;
-}
-#endif
-
 /*
  * Backlight off before OS handover
  */