Commit 8c3012ac authored by Haoran.Wang's avatar Haoran.Wang Committed by faqiang.zhu
Browse files

MA-12283 Enter fastboot mode directly if usb boot

Change bootcmd to "fastboot 0" directly when detect
booted from USB. By this the u-boot which booted by
uuu will enter fastboot mode and ready for the
remain commands.
Signed-off-by: default avatarHaoran.Wang <>
parent 4d436d59
......@@ -1548,6 +1548,10 @@ void board_fastboot_setup(void)
if (!getenv("bootcmd"))
setenv("bootcmd", boot_dev_part);
case USB_BOOT:
printf("Detect USB boot. Will enter fastboot mode!\n");
if (!getenv("bootcmd"))
setenv("bootcmd", "fastboot 0");
printf("unsupported boot devices\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment