Patchwork [U-Boot,v4,3/3] SPL: Change description for spl command

login
register
mail settings
Submitter Stefano Babic
Date Nov. 23, 2012, 3:31 p.m.
Message ID <1353684682-24460-3-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/201348/
State Deferred
Delegated to: Tom Rini
Headers show

Comments

Stefano Babic - Nov. 23, 2012, 3:31 p.m.
Add a more descriptive text to the help of the spl
command.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---

 common/cmd_spl.c |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Patch

diff --git a/common/cmd_spl.c b/common/cmd_spl.c
index 9ec054a..b3d9834 100644
--- a/common/cmd_spl.c
+++ b/common/cmd_spl.c
@@ -182,7 +182,11 @@  static int do_spl(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
 U_BOOT_CMD(
 	spl, 6 , 1, do_spl, "SPL configuration",
-	"export <img=atags|fdt> [kernel_addr] [initrd_addr] "
-	"[fdt_addr if <img> = fdt] - export a kernel parameter image\n"
-	"\t initrd_img can be set to \"-\" if fdt_addr without initrd img is"
-	"used");
+	"export <img=atags|fdt> [kernel_addr] [initrd_addr] [fdt_addr]\n"
+	"\timg\t\t\"atags\" or \"fdt\"\n"
+	"\tkernel_addr\taddress where a kernel image is stored.\n"
+	"\t\t\tkernel is loaded as part of the boot process, but it is not started.\n"
+	"\tinitrd_addr\taddress of initial ramdisk\n"
+	"\t\t\tcan be set to \"-\" if fdt_addr without initrd_addr is used.\n"
+	"\tfdt_addr\tin case of fdt, the address of the device tree.\n"
+	);