summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/phytec/phycore_imx93/phycore-imx93.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/phytec/phycore_imx93/phycore-imx93.c b/board/phytec/phycore_imx93/phycore-imx93.c
index cdaedd52c14..036c9f5de7e 100644
--- a/board/phytec/phycore_imx93/phycore-imx93.c
+++ b/board/phytec/phycore_imx93/phycore-imx93.c
@@ -41,6 +41,11 @@ int board_late_init(void)
case MMC1_BOOT:
env_set_ulong("mmcdev", 0);
break;
+ case USB_BOOT:
+ printf("Detect USB boot. Will enter fastboot mode!\n");
+ if (!strcmp(env_get("bootcmd"), env_get_default("bootcmd")))
+ env_set("bootcmd", "fastboot 0; bootflow scan -lb;");
+ break;
default:
break;
}