binman: Allow 'fill' entry to have a size of 0
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:08 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Sep 2018 17:09:01 +0000 (11:09 -0600)
commitd178eab8f92cb2d67288e01d1ae5b0eb8d0f8db1
tree9a6e63e0c1c70795e2c0ea505d0bd343a50d5044
parentf069303852bdfa1303cd5787667bd7924f0482d9
binman: Allow 'fill' entry to have a size of 0

The check for this should be for None, not 0. Fix it and add a test.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/fill.py
tools/binman/ftest.py
tools/binman/test/80_fill_empty.dts [new file with mode: 0644]