powerpc/86xx: Rework MPC8610HPCD pci_init_board to use common FSL PCIe code
[oweals/u-boot.git] / board / avnet / fx12mm / fx12mm.c
index 48586459188b116dcc7ac9d2af27f6eb8f163641..e671a7bed12ff5fe6dfb7c04f3e68d0941ba13ae 100644 (file)
@@ -34,7 +34,7 @@ int checkboard(void)
 {
        char tmp[64];
        char *s, *e;
-       int i = getenv_r("serial", tmp, sizeof(tmp));
+       int i = getenv_f("serial", tmp, sizeof(tmp));
 
        if (i < 0) {
                printf("Avnet Virtex4 FX12 with no serial #");