]> git.sur5r.net Git - u-boot/commit
binman: Refactor much of the image code into 'section'
authorSimon Glass <sjg@chromium.org>
Fri, 1 Jun 2018 15:38:12 +0000 (09:38 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 7 Jun 2018 19:25:07 +0000 (11:25 -0800)
commit8f1da50ccca246fe2c3e9d8ef890b48e7bc8795b
tree240e4098ca628aa9806bf6962862376a76830baf
parentdd57c13bbc28df6f1bc849ec55d1703f4ca0398e
binman: Refactor much of the image code into 'section'

We want to support multiple sections within a single image. To do this,
move most of the Image class implementation into a new Section class. An
Image contains only a single Section, but at some point we will support
a new 'section' entry, thus allowing Sections within Sections.

Use the name 'bsection' for the module so we can use 'section' for the
etype module.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/bsection.py [new file with mode: 0644]
tools/binman/ftest.py
tools/binman/image.py
tools/binman/image_test.py