3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * SPDX-License-Identifier: GPL-2.0+
11 #ifdef CONFIG_BOOT_RETRY_TIME
13 * bootretry_tstc_timeout() - ensure we get a keypress before timeout
15 * Check for a keypress repeatedly, resetting the watchdog each time. If a
16 * keypress is not received within the command timeout, return an error.
18 * @return 0 if a key is received in time, -ETIMEDOUT if not
20 int bootretry_tstc_timeout(void);
22 static inline int bootretry_tstc_timeout(void)
28 void init_cmd_timeout(void);
29 void reset_cmd_timeout(void);