[PATCH 03/13] imx93_evk: Drop board_phy_config
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Jan 8 12:06:48 CET 2026
From: Peng Fan <peng.fan at nxp.com>
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 at nxp.com>
---
board/freescale/imx93_evk/imx93_evk.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/board/freescale/imx93_evk/imx93_evk.c b/board/freescale/imx93_evk/imx93_evk.c
index 64400b584d1..4c58272523a 100644
--- a/board/freescale/imx93_evk/imx93_evk.c
+++ b/board/freescale/imx93_evk/imx93_evk.c
@@ -6,8 +6,6 @@
#include <env.h>
#include <efi_loader.h>
#include <init.h>
-#include <miiphy.h>
-#include <netdev.h>
#include <asm/global_data.h>
#include <asm/arch/sys_proto.h>
#include <dm/device.h>
@@ -35,14 +33,6 @@ struct efi_capsule_update_info update_info = {
};
#endif /* EFI_HAVE_CAPSULE_SUPPORT */
-int board_phy_config(struct phy_device *phydev)
-{
- if (phydev->drv->config)
- phydev->drv->config(phydev);
-
- return 0;
-}
-
int board_late_init(void)
{
#if CONFIG_IS_ENABLED(ENV_IS_IN_MMC) || CONFIG_IS_ENABLED(ENV_IS_NOWHERE)
--
2.51.0
More information about the U-Boot
mailing list