diff options
| author | Wolfgang Denk <wd@denx.de> | 2010-08-07 22:33:06 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2010-08-07 22:33:06 +0200 |
| commit | 3df4f46f3209c067dcadc969ed02d27c97fa3632 (patch) | |
| tree | 4639307e5e9120b0c80c62da8376be3e406e84fb /board/gen860t/gen860t.c | |
| parent | 9efac4a1eb99d9c5539aa6992025eeacab7980c6 (diff) | |
| parent | c519facc645812c6d174c2d5b60241d23e285642 (diff) | |
| download | olio-uboot-2014.01-3df4f46f3209c067dcadc969ed02d27c97fa3632.tar.xz olio-uboot-2014.01-3df4f46f3209c067dcadc969ed02d27c97fa3632.zip | |
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'board/gen860t/gen860t.c')
| -rw-r--r-- | board/gen860t/gen860t.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/gen860t/gen860t.c b/board/gen860t/gen860t.c index b37a0f24d..d175858d4 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 ("<unknown> "); } - 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); } |