summaryrefslogtreecommitdiff
path: root/common/cmd_usb.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_usb.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_usb.c')
-rw-r--r--common/cmd_usb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index 226ea0d..b04a8df 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);