]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
bootz: un-staticize do_bootz
authorRob Herring <rob.herring@calxeda.com>
Mon, 3 Dec 2012 03:00:23 +0000 (21:00 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:07:33 +0000 (19:07 -0500)
Make do_bootz available for other functions like do_bootm is.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
common/cmd_bootm.c
include/command.h

index 05130b69364c900d380e45fac9c5d27712ad52e7..e452fcac9308ee14e42f0162a561c540d4c763f9 100644 (file)
@@ -1707,7 +1707,7 @@ static int bootz_start(cmd_tbl_t *cmdtp, int flag, int argc,
        return 0;
 }
 
-static int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        bootm_headers_t images;
 
index 65692fd2a69f59b911fc64301e82b3bd21b95b93..9e05ddc1329ae2ce60fe7b2bfc84e6da66b41445 100644 (file)
@@ -110,6 +110,8 @@ static inline int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd)
 }
 #endif
 
+extern int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
+
 extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
                           char *const argv[]);