Common i.MX code now handles the case of booting into fastboot when booted in USB-serial download mode.
Remove the board-specific dofastboot handling which is now redundant. Signed-off-by: Daniel Drake <[email protected]> --- board/nxp/imx93_frdm/imx93_frdm.c | 5 ----- board/nxp/imx93_frdm/imx93_frdm.env | 4 ---- 2 files changed, 9 deletions(-) diff --git a/board/nxp/imx93_frdm/imx93_frdm.c b/board/nxp/imx93_frdm/imx93_frdm.c index e187de74a72..c24c737d40d 100644 --- a/board/nxp/imx93_frdm/imx93_frdm.c +++ b/board/nxp/imx93_frdm/imx93_frdm.c @@ -105,11 +105,6 @@ int board_late_init(void) env_set("board_rev", "iMX93"); } - if (get_boot_device() == USB_BOOT) { - printf("USB boot detected. Will enter fasboot mode\n"); - env_set_ulong("dofastboot", 1); - } - clear_pd_alert(); return 0; diff --git a/board/nxp/imx93_frdm/imx93_frdm.env b/board/nxp/imx93_frdm/imx93_frdm.env index 96096bc51a0..b68ab18258e 100644 --- a/board/nxp/imx93_frdm/imx93_frdm.env +++ b/board/nxp/imx93_frdm/imx93_frdm.env @@ -26,12 +26,8 @@ fastboot_partition_alias_all=0:0 fastboot_partition_alias_bootloader=0.1 emmc_dev=0 sd_dev=1 -dofastboot=0 bsp_bootcmd= - if test ${dofastboot} = 1; then - fastboot 0; - fi; echo Running BSP bootcmd ...; mmc dev ${mmcdev}; run mmcargs; -- 2.56.0
