summaryrefslogtreecommitdiff
path: root/board/toradex
diff options
context:
space:
mode:
authorAndrejs Cainikovs <andrejs.cainikovs@toradex.com>2023-01-16 20:05:11 +0100
committerStefano Babic <sbabic@denx.de>2023-01-30 21:02:27 +0100
commit9607d8b17dc3f583a137a238afc2a5ffc8f82674 (patch)
treea4b901e7605b33f17804c4c59ed9badf39d7b2ee /board/toradex
parent63b6193f3f9dc0ce73466a6c412563d91d55906c (diff)
downloadu-boot-9607d8b17dc3f583a137a238afc2a5ffc8f82674.tar.gz
u-boot-9607d8b17dc3f583a137a238afc2a5ffc8f82674.tar.bz2
u-boot-9607d8b17dc3f583a137a238afc2a5ffc8f82674.zip
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 <andrejs.cainikovs@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'board/toradex')
-rw-r--r--board/toradex/apalis-imx8/apalis-imx8.c12
1 files changed, 0 insertions, 12 deletions
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 <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
*/