[U-Boot] [PATCH v2 3/7] dfu: DFU backend implementation

Marek Vasut
2012-07-09T16:35:09Z

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@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Marek Vasut <marex@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