aboutsummaryrefslogtreecommitdiffstats
path: root/board/mpl/common/memtst.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpl/common/memtst.c')
-rw-r--r--board/mpl/common/memtst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpl/common/memtst.c b/board/mpl/common/memtst.c
index 92c33bac16..68973f9cbb 100644
--- a/board/mpl/common/memtst.c
+++ b/board/mpl/common/memtst.c
@@ -29,7 +29,7 @@ int testdram (void)
unsigned char s[32];
int i;
- i = getenv_r ("testmem", s, 32);
+ i = getenv_f("testmem", s, 32);
if (i != 0) {
i = (int) simple_strtoul (s, NULL, 10);
if ((i > 0) && (i < 0xf)) {