]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/mpl/pati/pati.c
Merge branch 'master' of /home/wd/git/u-boot/master
[karo-tx-uboot.git] / board / mpl / pati / pati.c
index e12bc423f4ff150f0fe9ea5abc92fad7ca1c900c..7f1164a5c7acdced9b3c2b790eefea0d09ae8dab 100644 (file)
@@ -353,7 +353,7 @@ int checkboard (void)
        puts ("\nBoard: ");
        reg=in32(PLD_CONFIG_BASE+PLD_BOARD_TIMING);
        rev=(char)(SYSCNTR_BREV(reg)+'A');
-       i = getenv_("serial#", s, 32);
+       i = getenv_f("serial#", s, 32);
        if ((i == -1)) {
                puts ("### No HW ID - assuming " BOARD_NAME);
                printf(" Rev. %c\n",rev);