binman: Add support for sections
authorSimon Glass <sjg@chromium.org>
Fri, 1 Jun 2018 15:38:16 +0000 (09:38 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 7 Jun 2018 19:25:08 +0000 (11:25 -0800)
commit1854695bd8af298d522fbb4bf0d8d9a3e1c6b33f
treef70de913446710661a9979595802231ec6c77932
parentbadf0ec6e4c89d8ee54b96f943057efe3c253113
binman: Add support for sections

It is useful to be able to split an image into multiple sections,
each with its own size and position, for cases where a flash device has
read-only and read-write portions.

Add support for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README
tools/binman/bsection.py
tools/binman/entry.py
tools/binman/etype/section.py [new file with mode: 0644]
tools/binman/ftest.py
tools/binman/test/55_sections.dts [new file with mode: 0644]