binman: Support an entry that holds text
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jul 2018 19:25:33 +0000 (13:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 1 Aug 2018 22:30:47 +0000 (16:30 -0600)
commitbb74837c9a32e51187d843c2469f0176d674c5f9
treeb7597444221cb13594090527ff54ee5f0dad8d12
parent53af22a9958ca93c89056ad2750ad0d46a51b6c8
binman: Support an entry that holds text

It is useful to able to write an identifying string to the image within an
entry. Add a 'text' entry type to handle this. The actual text is
typically passed to binman on the command line. The text is not itself
nul-terminated but this can be achieved if required by setting the size of
the entry to something larger than the text.

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