]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Remember the pre-reset entry size
authorSimon Glass <sjg@chromium.org>
Thu, 31 Oct 2019 13:43:02 +0000 (07:43 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Nov 2019 01:15:32 +0000 (18:15 -0700)
commit8ddd7c9a7495123a41b39ae482273416d75dd420
tree6a8d009f7c11b99c571102b5373fb0f1b61b691f
parentdff71f903337111383ae2b6a26422260721c6342
binman: Remember the pre-reset entry size

When preparing to possible expand or contract an entry we reset the size
to the original value from the binman device-tree definition, which is
often None.

This causes binman to forget the original size of the entry. Remember this
so that it can be used when needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entry.py