Re: [U-Boot] [PATCH v2 15/18] tools: kwbimage: Refactor line parsing and fix error

2017-02-01 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: The function image_create_config_parse_oneline is pretty complex, and since more parameters will be added to support secure booting, we refactor the function to make it more readable. Also, when a line contained just a keyword without any parameters, strtok_

Re: [U-Boot] [PATCH v2 15/18] tools: kwbimage: Refactor line parsing and fix error

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: The function image_create_config_parse_oneline is pretty complex, and since more parameters will be added to support secure booting, we refactor the function to make it more readable. Also, when a line contained just a keyword without any parameters, strtok_

[U-Boot] [PATCH v2 15/18] tools: kwbimage: Refactor line parsing and fix error

2017-01-11 Thread Mario Six
The function image_create_config_parse_oneline is pretty complex, and since more parameters will be added to support secure booting, we refactor the function to make it more readable. Also, when a line contained just a keyword without any parameters, strtok_r returned NULL, which was then indiscri