]> git.sur5r.net Git - u-boot/blobdiff - board/esd/voh405/voh405.c
imx: mx53ard: Convert to iomux-v3
[u-boot] / board / esd / voh405 / voh405.c
index 6ed493ea66243c5a75dca6007e3de559d0903983..5f28a4869cdbccc873e171aa6de063b6c50ae628 100644 (file)
@@ -33,7 +33,6 @@
 #define FPGA_DEBUG
 #endif
 
-extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
 extern void lxt971_no_sleep(void);
 
 /* fpga configuration data - gzip compressed and generated by bin2c */
@@ -271,7 +270,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: ");
 
@@ -281,7 +280,7 @@ int checkboard (void)
                puts(str);
        }
 
-       if (getenv_r("bd_type", str, sizeof(str)) != -1) {
+       if (getenv_f("bd_type", str, sizeof(str)) != -1) {
                printf(" (%s)", str);
        } else {
                puts(" (Missing bd_type!)");