binman: Use bytearray instead of string
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jul 2021 16:36:39 +0000 (10:36 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:35 +0000 (10:27 -0600)
commit43332d881baa2d66a18e80ec636e0e0da5623c46
tree418394e7489b1ab383e4acb344a18df979009be1
parentedd4b6ea41075b34619e774dba3d232b12c1ea53
binman: Use bytearray instead of string

This is faster if data is being concatenated. Update the section and
collection etypes.

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