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

login
register
mail settings
Submitter Stefano Babic
Date Feb. 23, 2013, 10:53 a.m.
Message ID <1361616807-9496-3-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/222708/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Stefano Babic - Feb. 23, 2013, 10:53 a.m.
Add a more descriptive text to the help of the spl
command.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
Changes in v6: None
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(-)
Tom Rini - Feb. 23, 2013, 12:57 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/23/2013 05:53 AM, Stefano Babic wrote:
> Add a more descriptive text to the help of the spl command.
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>

Reviewed-by: Tom Rini <trini@ti.com>

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRKLyjAAoJENk4IS6UOR1W/qIQAKx0BsNckAissLCbs+M6XH0S
9d4v+bb6d+CuLFSbmSaFmDUXxU1YblSIDyDYcFHeYYtQA9D5ClDOyI0jFswoAqLE
J6jyyoEMCnp6uGJH/YtkNJqj5qkee+MCpuW8qiN0b8AKZ0MyC6gZDeJuHORl2FB+
+iIpjHbMqCs1qXKFQ+oVsnDZftq3lL44X7LvZJpBYkD+f2RBeJd8iB2lELmAN8uL
cK9R/mtjzK7D0CbFSwxTt+9Dz3RTOuOVvMWbkG54sklEVmIXCnTW+99I65FK37tK
yT/96PCFp9txtFNah0rK/kEcrvOeh9ZHlQPTWTOUjPiPltcfMEDd/bQF8vhcjvWM
L8V88XqyNgmiqCbWgfG9JuyWDqXL7YMFnd15pieYEHizyW2EtfBcea3rMubIFOFV
RVh+dhBXSPVU8Rn+WMzPut0VyRFTO+7skdGSYHTqz137CShSe1w9ag//RQ1rYdR+
MrEEbSk3B0YZb9/66nYXg5X/6cWqYyPBvXSWUNeOxkMyRP8EGU764XNflnJ+G19D
fLjA4CvyLk/YCUQXEIgdlvoivd+B6jnwvqYoRufo83QSYDWB+U6fQvukke9xV4mM
q1bKAbgqI2VCjjqv5qlfa09lNgwUV34+GJrtgdiIxftYP+0yKT958yPDdKQ4HQMM
kDJgMsR80eut5rlYHTpH
=2h0L
-----END PGP SIGNATURE-----

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"
+	);