From 1494c2a9d43d9c6a70e8cfe992efea86cf846b02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 16 Jun 2017 13:50:38 +0200 Subject: [PATCH] karo: tx6: enable bootretry Define CONFIG_BOOT_RETRY_TIME to enable the bootretry feature, but set the value to -1 to be inactive by default. Set CONFIG_BOOT_RETRY_MIN to 3 sec to give enough time in the boot prompt to deactivate the feature with a copy/pasterd cmdline. Also set CONFIG_RESET_TO_RETRY to reset the board in order to retry the autoboot. --- include/configs/tx6.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/tx6.h b/include/configs/tx6.h index 1e1a621717..b662f82163 100644 --- a/include/configs/tx6.h +++ b/include/configs/tx6.h @@ -149,6 +149,9 @@ #else #define CONFIG_BOOTDELAY 0 #endif +#define CONFIG_BOOT_RETRY_TIME -1 +#define CONFIG_BOOT_RETRY_MIN 3 +#define CONFIG_RESET_TO_RETRY #define CONFIG_ZERO_BOOTDELAY_CHECK #define CONFIG_SYS_AUTOLOAD "no" #define DEFAULT_BOOTCMD "run bootcmd_${boot_mode} bootm_cmd" -- 2.39.2