diff --git a/u-boot/common/cmd_recovery.c b/u-boot/common/cmd_recovery.c index 66767a01ab..92ba9f4a93 100644 --- a/u-boot/common/cmd_recovery.c +++ b/u-boot/common/cmd_recovery.c @@ -102,15 +102,15 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) rc = run_command("setenv filesize 0; " "tftp 0x81000000 " RECOVERY_FILENAME_STRING, 0); if (rc < 0) { - rc = run_command("setenv filesize 0 && " - "setenv serverip 255.255.255.255 && " + rc = run_command("setenv filesize 0; " + "setenv serverip 255.255.255.255; " "tftp 0x81000000 " RECOVERY_FILENAME_STRING, 0); } if (rc < 0) return tftp_failed(); - rc = run_command("erase 0x9f050000 +0x7a0000 && " + rc = run_command("erase 0x9f050000 +0x7a0000; " "cp.b 0x81000000 0x9f050000 0x7a0000", 0); if (rc < 0) return flash_failed();