binman: Record the parent section of each section
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:33 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commit08723a7abbc7e28b22d18684faf5142fc6f155e8
tree92d53765f4f7704cae0e030122deee1f2cf92ea0
parentf025363543636191cfc6d277733317cb0198189f
binman: Record the parent section of each section

At present sections have no record of their parent so it is not possible
to traverse up the tree to the root and figure out the position of a
section within the image.

Change the constructor to record this information.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/bsection.py
tools/binman/etype/section.py
tools/binman/image.py