]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/bootretry.c
common: board_f: Fix style violations
[people/ms/u-boot.git] / common / bootretry.c
index 12653c00d0f259dcd06ae60d21812557f64e447e..b3b8271a92391d5f73a7a9c0d1202259aac9113c 100644 (file)
@@ -21,9 +21,9 @@ 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");
+       char *s = env_get("bootretry");
 
        if (s != NULL)
                retry_time = (int)simple_strtol(s, NULL, 10);
@@ -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);
 }