summaryrefslogtreecommitdiff
path: root/tools/binman/test/123_entry_extend_section.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-05 20:18:59 -0700
committerSimon Glass <sjg@chromium.org>2022-03-18 19:24:25 -0600
commit80a66ae646eec82f4650bfc40f609584ba4bcebd (patch)
treec6c2208f853a54c13d7010aa3967d8331fd7218e /tools/binman/test/123_entry_extend_section.dts
parent6d427c4bcb601a0b271168f33737b53bda9b63d2 (diff)
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/123_entry_extend_section.dts')
-rw-r--r--tools/binman/test/123_entry_extend_section.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/binman/test/123_entry_extend_section.dts b/tools/binman/test/123_entry_extend_section.dts
new file mode 100644
index 0000000000..046f723434
--- /dev/null
+++ b/tools/binman/test/123_entry_extend_section.dts
@@ -0,0 +1,22 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ _testing {
+ bad-update-contents;
+ };
+
+ u-boot {
+ };
+
+ section {
+ _testing2 {
+ type = "_testing";
+ bad-update-contents;
+ };
+ };
+ };
+};