From 7c5985594c08745096144763ee1c263df4121054 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 9 Mar 2015 15:35:11 +0100 Subject: [PATCH] recovery: fix image copy + resetcycle counter --- u-boot/common/cmd_recovery.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/u-boot/common/cmd_recovery.c b/u-boot/common/cmd_recovery.c index e842e9d2f7..655db0f500 100644 --- a/u-boot/common/cmd_recovery.c +++ b/u-boot/common/cmd_recovery.c @@ -118,12 +118,12 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) if (rc < 0) return tftp_failed(); - rc = run_command("erase 0x9f050000 +0x7a0000" - "cp.b 0x81000000 0x9f050000 +0x7a0000", 0); + rc = run_command("erase 0x9f050000 +0x7a0000; " + "cp.b 0x81000000 0x9f050000 0x7a0000", 0); if (rc < 0) return flash_failed(); - return run_command("reset", 0); + return run_command("resetcycle; reset", 0); } U_BOOT_CMD(