From 4acb292f4ecffc15b9bc1feca035169756b5481d Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 16 Mar 2015 16:05:47 +0100 Subject: [PATCH] configs: run recovery when bootm fails --- 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 fbf7084999..0cea691d72 100644 --- a/u-boot/include/configs/common.h +++ b/u-boot/include/configs/common.h @@ -52,7 +52,7 @@ #define CFG_ENV_SIZE 0x10000 /* check if boot cycle threshold reached : if not try to boot linux if this fails run recovery */ -#define CONFIG_BOOTCOMMAND "inccycle ; if checkcycle ; then bootm 0x9f050000 ; run_recovery ; else run_recovery ; fi" +#define CONFIG_BOOTCOMMAND "inccycle ; if checkcycle ; then bootm 0x9f050000 ; run_recovery ; else run_recovery ; fi ; run_recovery" #define CFG_BOOTM_LEN (16 << 20) /* 16 MB */ #define CONFIG_NET_MULTI