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

login
register
mail settings
Submitter Stefano Babic
Date Feb. 12, 2013, 8:38 a.m.
Message ID <1360658294-5374-3-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/219739/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Stefano Babic - Feb. 12, 2013, 8:38 a.m.
Add a more descriptive text to the help of the spl
command.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 common/cmd_spl.c |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
Andreas Bießmann - Feb. 12, 2013, 10:56 a.m.
Dear Stefano Babic,

On 02/12/2013 09:38 AM, Stefano Babic wrote:
> Add a more descriptive text to the help of the spl
> command.
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> ---
> Changes in v5: None
> Changes in v4: None
> Changes in v3: None

That is not correct, there where changes since v3, this patch was
introduced in v2.

> Changes in v2: None

However, no complaints on the patch content.

Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>

Best regards

Andreas Bießmann

Patch

diff --git a/common/cmd_spl.c b/common/cmd_spl.c
index e3c543b..94b0a17 100644
--- a/common/cmd_spl.c
+++ b/common/cmd_spl.c
@@ -184,7 +184,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"
+	);