diff options
author | Simon Glass <sjg@chromium.org> | 2022-03-06 06:18:59 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-03-19 04:24:25 +0300 |
commit | 80a66ae646eec82f4650bfc40f609584ba4bcebd (patch) | |
tree | c6c2208f853a54c13d7010aa3967d8331fd7218e /tools/binman/test/088_extend_size.dts | |
parent | 6d427c4bcb601a0b271168f33737b53bda9b63d2 (diff) | |
download | u-boot-80a66ae646eec82f4650bfc40f609584ba4bcebd.tar.xz |
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>
Diffstat (limited to 'tools/binman/test/088_extend_size.dts')
-rw-r--r-- | tools/binman/test/088_extend_size.dts | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tools/binman/test/088_extend_size.dts b/tools/binman/test/088_extend_size.dts new file mode 100644 index 0000000000..f352699e37 --- /dev/null +++ b/tools/binman/test/088_extend_size.dts @@ -0,0 +1,43 @@ +// SPDX-License-Identifier: GPL-2.0+ +/dts-v1/; + +/ { + binman { + size = <40>; + fill { + extend-size; + fill-byte = [61]; + size = <0>; + }; + u-boot { + offset = <8>; + }; + section { + extend-size; + pad-byte = <0x62>; + intel-mrc { + }; + }; + u-boot2 { + type = "u-boot"; + offset = <16>; + }; + section2 { + type = "section"; + fill { + extend-size; + fill-byte = [63]; + size = <0>; + }; + u-boot { + offset = <8>; + }; + }; + fill2 { + type = "fill"; + extend-size; + fill-byte = [64]; + size = <0>; + }; + }; +}; |