From 96e8e39feb43206c1bf657e3c54b8a3b72a79be2 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 4 Mar 2015 21:12:51 +0100 Subject: [PATCH] configs: use bootcycle to detect a recovery case and run_recovery if needed --- u-boot/include/configs/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot/include/configs/common.h b/u-boot/include/configs/common.h index e2ef3a2595..97355d979a 100644 --- a/u-boot/include/configs/common.h +++ b/u-boot/include/configs/common.h @@ -50,7 +50,7 @@ #define CFG_ENV_ADDR 0x9f040000 #define CFG_ENV_SIZE 0x10000 -#define CONFIG_BOOTCOMMAND "bootm 0x9f050000" +#define CONFIG_BOOTCOMMAND "inccycle ; if checkcycle ; then bootm 0x9f050000 ; else run_recovery ; fi" #define CONFIG_NET_MULTI