[U-Boot] [PATCH] cmd_sf: Mention in the help text that mode, addr, offset and len must be given in hex.
Jagan Teki
jagannadh.teki at gmail.com
Wed Jan 8 13:47:37 CET 2014
On Thu, Oct 24, 2013 at 7:14 PM, Jakob Unterwurzacher
<jakob.unterwurzacher at theobroma-systems.com> wrote:
> 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
> );
All in u-boot treated similar, i don't think the point here to add notes.
Sorry, rejected.
--
Thanks,
Jagan.
More information about the U-Boot
mailing list