mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +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:
@@ -21,7 +21,7 @@ static int retry_time = -1; /* -1 so can call readline before main_loop */
|
||||
/***************************************************************************
|
||||
* initialize command line timeout
|
||||
*/
|
||||
void init_cmd_timeout(void)
|
||||
void bootretry_init_cmd_timeout(void)
|
||||
{
|
||||
char *s = getenv("bootretry");
|
||||
|
||||
@@ -37,7 +37,7 @@ void init_cmd_timeout(void)
|
||||
/***************************************************************************
|
||||
* reset command line timeout to retry_time seconds
|
||||
*/
|
||||
void reset_cmd_timeout(void)
|
||||
void bootretry_reset_cmd_timeout(void)
|
||||
{
|
||||
endtime = endtick(retry_time);
|
||||
}
|
||||
|
Reference in New Issue
Block a user