[U-Boot] [PATCH] cmd_sf: Mention in the help text that mode, addr, offset and len must be given in hex.
Jakob Unterwurzacher
jakob.unterwurzacher at theobroma-systems.com
Thu Oct 24 15:44:05 CEST 2013
These parameters are always interpreted as hex, even without 0x prefix.
Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher at theobroma-systems.com>
---
common/cmd_sf.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/common/cmd_sf.c b/common/cmd_sf.c
index 0a17782..0f7c0a3 100644
--- a/common/cmd_sf.c
+++ b/common/cmd_sf.c
@@ -531,6 +531,7 @@ U_BOOT_CMD(
"sf erase offset [+]len - erase `len' bytes from `offset'\n"
" `+len' round up `len' to block size\n"
"sf update addr offset len - erase and write `len' bytes from memory\n"
- " at `addr' to flash at `offset'"
+ " at `addr' to flash at `offset'\n"
+ "Parameters mode, addr, offset and len must be in hex."
SF_TEST_HELP
);
--
1.7.2.5
More information about the U-Boot
mailing list