@@ -1028,9 +1028,9 @@ static void get_user_input(struct in_str *i)
puts("\nTimeout waiting for command\n");
# ifdef CONFIG_RESET_TO_RETRY
do_reset(NULL, 0, 0, NULL);
# else
-# error "This currently only works with CONFIG_RESET_TO_RETRY enabled"
+ strcpy(console_buffer, "run bootcmd\n");
# endif
}
#endif
if (n == -1 ) {
@@ -2897,9 +2897,9 @@ static void get_user_input(struct in_str *i)
puts("\nTimeout waiting for command\n");
# ifdef CONFIG_RESET_TO_RETRY
do_reset(NULL, 0, 0, NULL);
# else
-# error "This currently only works with CONFIG_RESET_TO_RETRY enabled"
+ strcpy(console_buffer, "run bootcmd\n");
# endif
}
# endif
if (n == -1 ) {
When CONFIG_BOOT_RETRY is enabled, make hush shell always run the bootcmd. This is an improvement over failing to build. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> --- common/cli_hush.c | 2 +- common/cli_hush_upstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)