]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx93_evk: Drop setup_fec
authorPeng Fan <peng.fan@nxp.com>
Thu, 8 Jan 2026 11:06:47 +0000 (19:06 +0800)
committerFabio Estevam <festevam@nabladev.com>
Sat, 17 Jan 2026 18:00:23 +0000 (15:00 -0300)
The clock settings could be handled by "assigned-clock-rates" through
DM clock driver, so drop setup_fec().

board_init() is a dummy function now, so clean it up.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx93_evk/imx93_evk.c
configs/imx93_11x11_evk_defconfig

index 371b35bf1a667a9df226d538d76083bfa6fe9dae..64400b584d1dbfbd3c809d07709548731ebe6c51 100644 (file)
@@ -9,9 +9,7 @@
 #include <miiphy.h>
 #include <netdev.h>
 #include <asm/global_data.h>
-#include <asm/arch-imx9/ccm_regs.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/arch/clock.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 
@@ -37,11 +35,6 @@ struct efi_capsule_update_info update_info = {
 };
 #endif /* EFI_HAVE_CAPSULE_SUPPORT */
 
-static int setup_fec(void)
-{
-       return set_clk_enet(ENET_125MHZ);
-}
-
 int board_phy_config(struct phy_device *phydev)
 {
        if (phydev->drv->config)
@@ -50,14 +43,6 @@ int board_phy_config(struct phy_device *phydev)
        return 0;
 }
 
-int board_init(void)
-{
-       if (IS_ENABLED(CONFIG_FEC_MXC))
-               setup_fec();
-
-       return 0;
-}
-
 int board_late_init(void)
 {
 #if CONFIG_IS_ENABLED(ENV_IS_IN_MMC) || CONFIG_IS_ENABLED(ENV_IS_NOWHERE)
index a53e5fc1de1d5416e70fd82df097fca57acb2478..39a7962d7ca3ab8be54b5c36c7fb6d706581b0e8 100644 (file)
@@ -36,6 +36,7 @@ CONFIG_BOOTCOMMAND="bootflow scan -lb; run bsp_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx93-11x11-evk.dtb"
 CONFIG_SYS_CBSIZE=2048
 CONFIG_SYS_PBSIZE=2074
+# CONFIG_BOARD_INIT is not set
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x26000
 CONFIG_SPL_BOARD_INIT=y