[U-Boot] [PATCH v2 02/12] binman: Refactor much of the image code into 'section'

Simon Glass sjg at chromium.org
Thu Jun 7 23:49:34 UTC 2018


On 1 June 2018 at 07:38, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2:
> - Put SPDX on the first line in bsection.py
>
>  tools/binman/bsection.py   | 302 +++++++++++++++++++++++++++++++++++++
>  tools/binman/ftest.py      |  16 +-
>  tools/binman/image.py      | 247 +++---------------------------
>  tools/binman/image_test.py |  18 ++-
>  4 files changed, 340 insertions(+), 243 deletions(-)
>  create mode 100644 tools/binman/bsection.py

Applied to u-boot-dm


More information about the U-Boot mailing list