binman: Add an entry filled with a repeating byte
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jul 2018 19:25:40 +0000 (13:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 1 Aug 2018 22:30:48 +0000 (16:30 -0600)
commit3af8e49ceff044021725fc547b19ebac22d0b0f7
treee0d82e9e4a9e94f1ffe36da7fa4ba78a4da213c7
parentec127af0429ad6f9818297f9c3ee77edb2154182
binman: Add an entry filled with a repeating byte

It is sometimes useful to have an area of the image which is all zeroes,
or all 0xff. This can often be achieved by padding the size of an an
existing entry and setting the pad byte for an entry or image.

But it is useful to have an explicit means of adding blocks of repeating
data to the image. Add a 'fill' entry type to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README.entries
tools/binman/etype/fill.py [new file with mode: 0644]
tools/binman/ftest.py
tools/binman/test/69_fill.dts [new file with mode: 0644]
tools/binman/test/70_fill_no_size.dts [new file with mode: 0644]
tools/dtoc/fdt_util.py
tools/dtoc/test_fdt.py