arm: a320evb: define mach-type in board config file
[oweals/u-boot.git] / board / g2000 / g2000.c
index 8b15e51f1d157b5daf8eb49a5d53ba817ac69e20..713b6995a614c9002b30f3bca94f5d52297777ff 100644 (file)
@@ -91,7 +91,7 @@ int misc_init_r (void)
 int checkboard (void)
 {
        char str[64];
-       int i = getenv_("serial#", str, sizeof(str));
+       int i = getenv_f("serial#", str, sizeof(str));
 
        puts ("Board: ");