]> git.baikalelectronics.ru Git - uboot.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)
commita139a1dd13203c40c9d06d8a33a7ee63f1a417dd
treec6c2208f853a54c13d7010aa3967d8331fd7218e
parentc367809ca67e6330b5f7ddb7dc8edaafcded0e35
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>
15 files changed:
tools/binman/binman.rst
tools/binman/entry.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/088_expand_size.dts [deleted file]
tools/binman/test/088_extend_size.dts [new file with mode: 0644]
tools/binman/test/089_expand_size_bad.dts [deleted file]
tools/binman/test/089_extend_size_bad.dts [new file with mode: 0644]
tools/binman/test/121_entry_expand.dts [deleted file]
tools/binman/test/121_entry_extend.dts [new file with mode: 0644]
tools/binman/test/122_entry_expand_twice.dts [deleted file]
tools/binman/test/122_entry_extend_twice.dts [new file with mode: 0644]
tools/binman/test/123_entry_expand_section.dts [deleted file]
tools/binman/test/123_entry_extend_section.dts [new file with mode: 0644]
tools/binman/test/225_expand_size_bad.dts [new file with mode: 0644]