]> git.sur5r.net Git - u-boot/blobdiff - board/esd/pci405/cmd_pci405.c
imx: mx53ard: Convert to iomux-v3
[u-boot] / board / esd / pci405 / cmd_pci405.c
index 2fc9fda5d2def9f37773ff2b5b8cbd784173209e..f570ef340fa91df1e193c37eff808c19f768c5c2 100644 (file)
@@ -34,8 +34,6 @@
 
 #if defined(CONFIG_CMD_BSP)
 
-extern int do_bootm (cmd_tbl_t *, int, int, char *[]);
-
 /*
  * Command loadpci: wait for signal from host and boot image.
  */
@@ -44,7 +42,6 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        unsigned int *ptr = 0;
        int count = 0;
        int count2 = 0;
-       int status;
        int i;
        char addr[16];
        char str[] = "\\|/-";
@@ -101,7 +98,7 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
                local_args[0] = argv[0];
                local_args[1] = NULL;
-               status = do_bootm (cmdtp, 0, 1, local_args);
+               do_bootm (cmdtp, 0, 1, local_args);
        }
 
        return 0;