summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
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 /common/cmd_nand.c
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 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 634d036..6783645 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;