Re: [PATCH v2 2/5] DFU: Accept redundant spaces and tabs in dfu_alt_info

2022-02-11 Thread Tom Rini
On Mon, Jan 31, 2022 at 11:52:29AM +0900, Masami Hiramatsu wrote: > If dfu_alt_info has repeated spaces or tab (for indentation or > readability), the dfu fails to parse it. For example, if > dfu_alt_info="mtd nor1=image raw 10 20" (double spaces > after "raw"), the image entity start add

[PATCH v2 2/5] DFU: Accept redundant spaces and tabs in dfu_alt_info

2022-01-30 Thread Masami Hiramatsu
If dfu_alt_info has repeated spaces or tab (for indentation or readability), the dfu fails to parse it. For example, if dfu_alt_info="mtd nor1=image raw 10 20" (double spaces after "raw"), the image entity start address is '0' and the size '0x10'. This is because the repeated space is