]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx93_evk: Drop board_phy_config
authorPeng Fan <peng.fan@nxp.com>
Thu, 8 Jan 2026 11:06:48 +0000 (19:06 +0800)
committerFabio Estevam <festevam@nabladev.com>
Sat, 17 Jan 2026 18:00:23 +0000 (15:00 -0300)
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@nxp.com>
board/freescale/imx93_evk/imx93_evk.c

index 64400b584d1dbfbd3c809d07709548731ebe6c51..4c58272523ab8ba07d2a74a398108ea64f7dd40f 100644 (file)
@@ -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)