Lines Matching +full:long +full:- +full:press +full:- +full:ms
5 * SPDX-License-Identifier: GPL-2.0+
16 #include <u-boot/sha256.h>
35 * Use a "constant-length" time compare function for this
38 * https://crackstation.net/hashing-security.htm
78 * We don't know how long the stop-string is, so we need to in passwd_abort()
152 for (i = 0; i < presskey_max - 1; i++) in passwd_abort()
162 memcmp(presskey + presskey_len - in passwd_abort()
183 * returns: 0 - no key string, allow autoboot 1 - got key string, abort
214 unsigned long ts;
223 if (!IS_ENABLED(CONFIG_CONSOLE_DISABLE_CLI) && ctrlc()) { /* we press ctrl+c ? */
228 if (tstc()) { /* we got a key press */
236 --bootdelay;
237 /* delay 1000 ms */
240 if (ctrlc()) { /* we got a ctrl+c key press */
269 gd->flags &= ~GD_FLG_SILENT;
281 addr = fdtdec_get_config_int(gd->fdt_blob, "kernel-offset", 0);
286 addr = fdtdec_get_config_int(gd->fdt_blob, "rootdisk-offset", 0);
297 unsigned long bootcount = 0;
298 unsigned long bootlimit = 0;
313 bootdelay = fdtdec_get_config_int(gd->fdt_blob, "bootdelay",
325 if (gd->flags & GD_FLG_POSTFAIL) {
338 process_fdt_options(gd->fdt_blob);
345 * Board-specific Platform code can reimplement autoboot_command_fail_handle ()
354 if (stored_bootdelay != -1 && s && !abortboot(stored_bootdelay)) {
359 run_command_list(s, -1, 0);
371 run_command_list(s, -1, 0);