diff options
| -rw-r--r-- | board/cm5200/fwupdate.c | 1 | ||||
| -rw-r--r-- | board/esd/common/cmd_loadpci.c | 1 | ||||
| -rw-r--r-- | board/esd/cpci750/cpci750.c | 1 | ||||
| -rw-r--r-- | board/esd/pci405/cmd_pci405.c | 2 | ||||
| -rw-r--r-- | board/pn62/cmd_pn62.c | 2 | ||||
| -rw-r--r-- | common/cmd_fdc.c | 1 | ||||
| -rw-r--r-- | common/cmd_fdos.c | 1 | ||||
| -rw-r--r-- | common/cmd_ide.c | 1 | ||||
| -rw-r--r-- | common/cmd_nand.c | 1 | ||||
| -rw-r--r-- | common/cmd_net.c | 2 | ||||
| -rw-r--r-- | common/cmd_scsi.c | 1 | ||||
| -rw-r--r-- | common/cmd_usb.c | 1 | ||||
| -rw-r--r-- | include/command.h | 2 | 
13 files changed, 2 insertions, 15 deletions
| diff --git a/board/cm5200/fwupdate.c b/board/cm5200/fwupdate.c index c1a4a19cc..9d4eadcb6 100644 --- a/board/cm5200/fwupdate.c +++ b/board/cm5200/fwupdate.c @@ -35,7 +35,6 @@  #include "fwupdate.h" -extern int do_bootm(cmd_tbl_t *, int, int, char * const []);  extern long do_fat_read(const char *, void *, unsigned long, int);  extern int do_fat_fsload(cmd_tbl_t *, int, int, char * const []); diff --git a/board/esd/common/cmd_loadpci.c b/board/esd/common/cmd_loadpci.c index 87da27db1..8f4ad8468 100644 --- a/board/esd/common/cmd_loadpci.c +++ b/board/esd/common/cmd_loadpci.c @@ -29,7 +29,6 @@  #if defined(CONFIG_CMD_BSP) -extern int do_bootm (cmd_tbl_t *, int, int, char *[]);  extern int do_source (cmd_tbl_t *, int, int, char *[]);  #define ADDRMASK 0xfffff000 diff --git a/board/esd/cpci750/cpci750.c b/board/esd/cpci750/cpci750.c index f9f7c7fdf..f27d65ed1 100644 --- a/board/esd/cpci750/cpci750.c +++ b/board/esd/cpci750/cpci750.c @@ -122,7 +122,6 @@ static char show_config_tab[][15] = {{"PCI0DLL_2     "},  /* 31 */  extern flash_info_t flash_info[]; -extern int do_bootm (cmd_tbl_t *, int, int, char *[]);  extern int do_bootvx (cmd_tbl_t *, int, int, char *[]);  /* ------------------------------------------------------------------------- */ diff --git a/board/esd/pci405/cmd_pci405.c b/board/esd/pci405/cmd_pci405.c index 2fc9fda5d..13f901942 100644 --- a/board/esd/pci405/cmd_pci405.c +++ b/board/esd/pci405/cmd_pci405.c @@ -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.   */ diff --git a/board/pn62/cmd_pn62.c b/board/pn62/cmd_pn62.c index 58c680b7f..939cb4ad9 100644 --- a/board/pn62/cmd_pn62.c +++ b/board/pn62/cmd_pn62.c @@ -31,8 +31,6 @@  #if defined(CONFIG_CMD_BSP) -extern int do_bootm (cmd_tbl_t *, int, int, char *[]); -  /*   * Command led: controls the various LEDs 0..11 on the PN62 card.   */ diff --git a/common/cmd_fdc.c b/common/cmd_fdc.c index 831a07f2c..cdb050c25 100644 --- a/common/cmd_fdc.c +++ b/common/cmd_fdc.c @@ -826,7 +826,6 @@ int do_fdcboot (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  	/* Check if we should attempt an auto-start */  	if (((ep = getenv("autostart")) != NULL) && (strcmp(ep,"yes") == 0)) {  		char *local_args[2]; -		extern int do_bootm (cmd_tbl_t *, int, int, char *[]);  		local_args[0] = argv[0];  		local_args[1] = NULL; diff --git a/common/cmd_fdos.c b/common/cmd_fdos.c index a8822d91b..2af4ca0ef 100644 --- a/common/cmd_fdos.c +++ b/common/cmd_fdos.c @@ -101,7 +101,6 @@ int do_fdosboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])      /* Check if we should attempt an auto-start */      if (((ep = getenv("autostart")) != NULL) && (strcmp(ep,"yes") == 0)) {  	char *local_args[2]; -	extern int do_bootm (cmd_tbl_t *, int, int, char *[]);  	local_args[0] = argv[0];  	local_args[1] = NULL;  	printf ("Automatic boot of image at addr 0x%08lX ...\n", load_addr); diff --git a/common/cmd_ide.c b/common/cmd_ide.c index ea0f4a718..df7bdf56e 100644 --- a/common/cmd_ide.c +++ b/common/cmd_ide.c @@ -498,7 +498,6 @@ int do_diskboot (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  	/* Check if we should attempt an auto-start */  	if (((ep = getenv("autostart")) != NULL) && (strcmp(ep,"yes") == 0)) {  		char *local_args[2]; -		extern int do_bootm (cmd_tbl_t *, int, int, char *[]);  		local_args[0] = argv[0];  		local_args[1] = NULL; diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 634d03684..678364535 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -789,7 +789,6 @@ static int nand_load_image(cmd_tbl_t *cmdtp, nand_info_t *nand,  	/* Check if we should attempt an auto-start */  	if (((ep = getenv("autostart")) != NULL) && (strcmp(ep, "yes") == 0)) {  		char *local_args[2]; -		extern int do_bootm(cmd_tbl_t *, int, int, char *[]);  		local_args[0] = cmd;  		local_args[1] = NULL; diff --git a/common/cmd_net.c b/common/cmd_net.c index 44d17db19..c657b0395 100644 --- a/common/cmd_net.c +++ b/common/cmd_net.c @@ -28,8 +28,6 @@  #include <command.h>  #include <net.h> -extern int do_bootm (cmd_tbl_t *, int, int, char * const []); -  static int netboot_common (proto_t, cmd_tbl_t *, int , char * const []);  int do_bootp (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) diff --git a/common/cmd_scsi.c b/common/cmd_scsi.c index 6b937f9ad..be4fe741c 100644 --- a/common/cmd_scsi.c +++ b/common/cmd_scsi.c @@ -329,7 +329,6 @@ int do_scsiboot (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  	/* Check if we should attempt an auto-start */  	if (((ep = getenv("autostart")) != NULL) && (strcmp(ep,"yes") == 0)) {  		char *local_args[2]; -		extern int do_bootm (cmd_tbl_t *, int, int, char *[]);  		local_args[0] = argv[0];  		local_args[1] = NULL;  		printf ("Automatic boot of image at addr 0x%08lX ...\n", addr); diff --git a/common/cmd_usb.c b/common/cmd_usb.c index 226ea0dac..b04a8df76 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -490,7 +490,6 @@ int do_usbboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  	/* Check if we should attempt an auto-start */  	if (((ep = getenv("autostart")) != NULL) && (strcmp(ep, "yes") == 0)) {  		char *local_args[2]; -		extern int do_bootm(cmd_tbl_t *, int, int, char *[]);  		local_args[0] = argv[0];  		local_args[1] = NULL;  		printf("Automatic boot of image at addr 0x%08lX ...\n", addr); diff --git a/include/command.h b/include/command.h index 00edc8511..915be5798 100644 --- a/include/command.h +++ b/include/command.h @@ -95,6 +95,8 @@ extern int cmd_auto_complete(const char *const prompt, char *buf, int *np, int *  extern int cmd_get_data_size(char* arg, int default_size);  #endif +extern int do_bootm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); +  #endif	/* __ASSEMBLY__ */  /* |