From: Lothar Waßmann Date: Fri, 16 Jun 2017 11:50:38 +0000 (+0200) Subject: karo: tx6: enable bootretry X-Git-Tag: KARO-TX6-SILENT-2017-06-16 X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=refs%2Fheads%2Fu-boot-silent 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. --- 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"