]> git.sur5r.net Git - u-boot/blobdiff - board/esd/pci405/cmd_pci405.c
am335x_evm: Convert CONFIG_CONS_INDEX into a menu choice
[u-boot] / board / esd / pci405 / cmd_pci405.c
index 2fc9fda5d2def9f37773ff2b5b8cbd784173209e..55c20d02d3126f6b3cd4131133fc185c256d8f4a 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2002-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -34,8 +18,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 +26,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 +82,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;