Commit b9b3cf68 authored by Marek Vasut's avatar Marek Vasut

mxssb: Rework the command parsing

Rework the command parser. The command parsing can happen when reading the
configuration file already, there is no need to read the configuration file
in and parse only the result. The parser is now executed directly on each
line that is read by from the configuration file instead and builds the image
tree right away.

Moreover, the parser is now implemented in much cleaner way and the command
and section generation is cleanly separated.

Finally, the memory usage of the tool went down by 20% .
Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
parent 032c148a
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment