]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Call ProcessUpdateContents() consistently
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:34 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commitd860666ad3979c296e6e33b77914d91c678a1aa1
tree6d9a744c781ae9938a9d0b25125de34d519b66d9
parent38cad7edce85a4368d1d1f408a72b7f62ba4398e
binman: Call ProcessUpdateContents() consistently

SetContents() should only be called to set the contents of an entry from
within the ObtainContents() call, since it has no guard against increasing
the size of the contents, thus triggering incorrect operation.

Change all such calls to use ProcessUpdateContents() instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/blob_dtb.py
tools/binman/etype/fdtmap.py
tools/binman/etype/fmap.py
tools/binman/etype/image_header.py