]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
karo: tx6: enable bootretry u-boot-silent KARO-TX6-SILENT-2017-06-16
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 16 Jun 2017 11:50:38 +0000 (13:50 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 16 Jun 2017 11:50:38 +0000 (13:50 +0200)
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

index 1e1a6217176c6318f018ba477185540e567d9c26..b662f821631a214c3ece482e2216a5b6fd256b87 100644 (file)
 #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"