]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Rename ExpandToLimit to extend_to_limit
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:18:59 +0000 (20:18 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commit80a66ae646eec82f4650bfc40f609584ba4bcebd
treec6c2208f853a54c13d7010aa3967d8331fd7218e
parent6d427c4bcb601a0b271168f33737b53bda9b63d2
binman: Rename ExpandToLimit to extend_to_limit

The word 'expand' is used for entries which generate subentries. It is
also used for entries that can have an '_expanded' version which is used
to break out its contents.

Rather than talking about expanding an entry's size, use the term
'extending'. It is slightly more precise and avoids the above conflicts.

This change renders the old 'expand-size' property invalid, so add an
error check for that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/binman.rst
tools/binman/entry.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/088_extend_size.dts [moved from tools/binman/test/088_expand_size.dts with 88% similarity]
tools/binman/test/089_extend_size_bad.dts [moved from tools/binman/test/089_expand_size_bad.dts with 90% similarity]
tools/binman/test/121_entry_extend.dts [moved from tools/binman/test/121_entry_expand.dts with 100% similarity]
tools/binman/test/122_entry_extend_twice.dts [moved from tools/binman/test/122_entry_expand_twice.dts with 100% similarity]
tools/binman/test/123_entry_extend_section.dts [moved from tools/binman/test/123_entry_expand_section.dts with 100% similarity]
tools/binman/test/225_expand_size_bad.dts [new file with mode: 0644]