]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/snmc/qs850/qs850.c
Merge branch 'master' of /home/wd/git/u-boot/master
[karo-tx-uboot.git] / board / snmc / qs850 / qs850.c
index cc8eaad88c414cf3db7d075660d9fb543eff9b92..43f7495e46f570c6f7ad1af1caa36f17609e41a6 100644 (file)
@@ -100,7 +100,7 @@ int checkboard (void)
        char buf[64];
        int i;
 
-       i = getenv_r("serial#", buf, sizeof(buf));
+       i = getenv_f("serial#", buf, sizeof(buf));
        s = (i>0) ? buf : NULL;
 
        if (!s || strncmp(s, BOARD_IDENTITY, 5)) {