mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
bootz: un-staticize do_bootz
Make do_bootz available for other functions like do_bootm is. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
committed by
Joe Hershberger
parent
500f304b6b
commit
da620222f8
@@ -1707,7 +1707,7 @@ static int bootz_start(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||||||
return 0;
|
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;
|
bootm_headers_t images;
|
||||||
|
|
||||||
|
@@ -110,6 +110,8 @@ static inline int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd)
|
|||||||
}
|
}
|
||||||
#endif
|
#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,
|
extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user