X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fgen860t%2Fgen860t.c;h=d175858d42f2a5204fea07d4118202126288229a;hb=b29c2f0c142fdb8ef50deae1cc7c4338952fba6c;hp=b37a0f24d493458b8da346f4d7a6da9760d96d93;hpb=e598dfc22c8789991d165714bec53b2390fc999d;p=u-boot diff --git a/board/gen860t/gen860t.c b/board/gen860t/gen860t.c index b37a0f24d4..d175858d42 100644 --- a/board/gen860t/gen860t.c +++ b/board/gen860t/gen860t.c @@ -132,7 +132,7 @@ int checkboard (void) char buf[64]; int i; - i = getenv_r ("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 (" "); } - i = getenv_r ("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_r ("beeper", buf, sizeof (buf)); + i = getenv_f("beeper", buf, sizeof (buf)); if (i > 0) { do_beeper (buf); }