summaryrefslogtreecommitdiff
path: root/common/cmd_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-02 20:17:31 (GMT)
committerTom Rini <trini@ti.com>2015-01-14 16:35:43 (GMT)
commitb5493d17bdc62b0a0608d539bd2756eb7ed1cc9c (patch)
treec5472871655f1cb3c52aa78e74d9bb3b98dca954 /common/cmd_sandbox.c
parent40e5975f9ad7a545b85d2430d6517d8d3d18e87d (diff)
downloadu-boot-fsl-qoriq-b5493d17bdc62b0a0608d539bd2756eb7ed1cc9c.tar.xz
sandbox: Correct ordering of 'sb save' commands
Prior to commit d455d87 there was an inconsistency between the position of the 'address' parameter in 'sb load' and 'sb save'. This was corrected but it broke some tests. Fix the tests and also the help for 'sb save'. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_sandbox.c')
-rw-r--r--common/cmd_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_sandbox.c b/common/cmd_sandbox.c
index 3d9fce7..4286969 100644
--- a/common/cmd_sandbox.c
+++ b/common/cmd_sandbox.c
@@ -117,7 +117,7 @@ U_BOOT_CMD(
"load hostfs - <addr> <filename> [<bytes> <offset>] - "
"load a file from host\n"
"sb ls hostfs - <filename> - list files on host\n"
- "sb save hostfs - <filename> <addr> <bytes> [<offset>] - "
+ "sb save hostfs - <addr> <filename> <bytes> [<offset>] - "
"save a file to host\n"
"sb bind <dev> [<filename>] - bind \"host\" device to file\n"
"sb info [<dev>] - show device binding & info\n"