diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 05130b69364c900d380e45fac9c5d27712ad52e7..e452fcac9308ee14e42f0162a561c540d4c763f9 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -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; diff --git a/include/command.h b/include/command.h index 65692fd2a69f59b911fc64301e82b3bd21b95b93..9e05ddc1329ae2ce60fe7b2bfc84e6da66b41445 100644 --- a/include/command.h +++ b/include/command.h @@ -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[]);