summaryrefslogtreecommitdiff
path: root/board/esd
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 03:35:39 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:45:32 +0100
commit36ebb78779cb08b48672e0fa5cd891199cc0ee23 (patch)
treec7c07c5a1c2a7867c9adfdfa63f8a4809369b50d /board/esd
parent40b484a3dfb586076c6cfba44eff3e3cf0b5bd1f (diff)
downloadu-boot-imx-36ebb78779cb08b48672e0fa5cd891199cc0ee23.zip
u-boot-imx-36ebb78779cb08b48672e0fa5cd891199cc0ee23.tar.gz
u-boot-imx-36ebb78779cb08b48672e0fa5cd891199cc0ee23.tar.bz2
do_bootm: unify duplicate prototypes
The duplication of the do_bootm prototype has gotten out of hand, and they're pretty much all outdated (wrt constness). Unify them all in command.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/esd')
-rw-r--r--board/esd/common/cmd_loadpci.c1
-rw-r--r--board/esd/cpci750/cpci750.c1
-rw-r--r--board/esd/pci405/cmd_pci405.c2
3 files changed, 0 insertions, 4 deletions
diff --git a/board/esd/common/cmd_loadpci.c b/board/esd/common/cmd_loadpci.c
index 87da27d..8f4ad84 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 f9f7c7f..f27d65e 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 2fc9fda..13f9019 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.
*/