These parameters are always interpreted as hex, even without 0x prefix.
Signed-off-by: Jakob Unterwurzacher <[email protected]>
---
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
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot