mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Rename bootretry functions and remove #ifdefs
Add a bootretry_ prefix to these two functions, and remove the need for the #ifdef around everything (it moves to the Makefile). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -265,14 +265,12 @@ void cli_loop(void)
|
||||
int rc = 1;
|
||||
|
||||
for (;;) {
|
||||
#ifdef CONFIG_BOOT_RETRY_TIME
|
||||
if (rc >= 0) {
|
||||
/* Saw enough of a valid command to
|
||||
* restart the timeout.
|
||||
*/
|
||||
reset_cmd_timeout();
|
||||
bootretry_reset_cmd_timeout();
|
||||
}
|
||||
#endif
|
||||
len = cli_readline(CONFIG_SYS_PROMPT);
|
||||
|
||||
flag = 0; /* assume no special flags for now */
|
||||
|
Reference in New Issue
Block a user