]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/gen860t/gen860t.c
Rename getenv_r() into getenv_f()
[people/ms/u-boot.git] / board / gen860t / gen860t.c
index b37a0f24d493458b8da346f4d7a6da9760d96d93..d175858d42f2a5204fea07d4118202126288229a 100644 (file)
@@ -132,7 +132,7 @@ int checkboard (void)
        char buf[64];
        int i;
 
-       i = getenv_("board_id", buf, sizeof (buf));
+       i = getenv_f("board_id", buf, sizeof (buf));
        s = (i > 0) ? buf : NULL;
 
        if (s) {
@@ -141,7 +141,7 @@ int checkboard (void)
                printf ("<unknown> ");
        }
 
-       i = getenv_("serial#", buf, sizeof (buf));
+       i = getenv_f("serial#", buf, sizeof (buf));
        s = (i > 0) ? buf : NULL;
 
        if (s) {
@@ -276,7 +276,7 @@ int last_stage_init (void)
        /*
         * Read the environment to see what to do with the beeper
         */
-       i = getenv_("beeper", buf, sizeof (buf));
+       i = getenv_f("beeper", buf, sizeof (buf));
        if (i > 0) {
                do_beeper (buf);
        }