[U-Boot] [PATCH v2 3/7] dfu: DFU backend implementation
Marek Vasut
marex at denx.de
Mon Jul 9 18:35:09 CEST 2012
Dear Lukasz Majewski,
> New, separate driver at ./drivers/dfu has been added. It allows platform
> and storage independent operation of DFU.
>
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Marek Vasut <marex at denx.de>
>
[...]
> +char *dfu_extract_token(char** e, int *n)
> +{
> + char *st = *e;
> +
> + debug("%s: %s\n", __func__, st);
> +
> + strsep(e, " ");
> + *n = *e - st;
> +
> + return st;
> +}
Sigh, what about these? btw don't we have strtok?
[...]
Best regards,
Marek Vasut
More information about the U-Boot
mailing list