diff options
| author | Rob Herring <rob.herring@calxeda.com> | 2012-12-02 21:00:23 -0600 | 
|---|---|---|
| committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-06-24 19:07:33 -0500 | 
| commit | da620222f89162af2b43f868f1d6184533166104 (patch) | |
| tree | 06972e042463cdda9c5d455bc178a830fd98480e | |
| parent | 500f304b6bb8eeb369087a91da2f58a28bf04941 (diff) | |
| download | olio-uboot-2014.01-da620222f89162af2b43f868f1d6184533166104.tar.xz olio-uboot-2014.01-da620222f89162af2b43f868f1d6184533166104.zip | |
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>
| -rw-r--r-- | common/cmd_bootm.c | 2 | ||||
| -rw-r--r-- | include/command.h | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 05130b693..e452fcac9 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 65692fd2a..9e05ddc13 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[]); |