f_fastboot.c : on USB boot default to fastboot mode

parent 9cb0f55d
......@@ -1567,8 +1567,8 @@ void board_fastboot_setup(void)
break;
case USB_BOOT:
printf("Detect USB boot. Will enter fastboot mode!\n");
if (!getenv("bootcmd"))
setenv("bootcmd", "fastboot 0");
setenv("bootcmd", "fastboot 0");
break;
#endif /*CONFIG_FASTBOOT_STORAGE_MMC*/
default:
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