diff options
| author | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
| commit | 3e4d27b06d7484040355e22eec2cbce7335d6dab (patch) | |
| tree | 9672a2bb2e4ce0edc0ab776ddf0e2ca8e39a5f62 /common/cmd_source.c | |
| parent | bad05afe083eec0467220de21683443292c5012e (diff) | |
| parent | 59852d03867108217fe88e3bfc3e1e9cedfe63c5 (diff) | |
| download | olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.tar.xz olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.zip | |
Merge git://git.denx.de/u-boot
Diffstat (limited to 'common/cmd_source.c')
| -rw-r--r-- | common/cmd_source.c | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/common/cmd_source.c b/common/cmd_source.c index c4cde982a..02a862cc5 100644 --- a/common/cmd_source.c +++ b/common/cmd_source.c @@ -177,9 +177,8 @@ do_source (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  	return rcode;  } -U_BOOT_CMD( -	source, 2, 0,	do_source, -	"run script from memory", +#ifdef CONFIG_SYS_LONGHELP +static char source_help_text[] =  	"[addr]\n"  	"\t- run script starting at addr\n"  	"\t- A valid image header must be present" @@ -188,5 +187,11 @@ U_BOOT_CMD(  	"For FIT format uImage addr must include subimage\n"  	"unit name in the form of addr:<subimg_uname>"  #endif +	""; +#endif + +U_BOOT_CMD( +	source, 2, 0,	do_source, +	"run script from memory", source_help_text  );  #endif |