summaryrefslogtreecommitdiff
path: root/tools/binman/test/123_entry_expand_section.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 14:25:37 -0600
committerSimon Glass <sjg@chromium.org>2019-07-24 12:54:08 -0700
commitc52c9e7da809e36001d125891e594c4740235055 (patch)
treeb2a206a5487a5cd7b156659e2358ccf0ccc92f98 /tools/binman/test/123_entry_expand_section.dts
parentbf6906bab4129660a74639e3fafb463917778d2b (diff)
binman: Allow entries to expand after packing
Add support for detecting entries that change size after they have already been packed, and re-running packing when it happens. This removes the limitation that entry size cannot change after PackEntries() is called. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test/123_entry_expand_section.dts')
-rw-r--r--tools/binman/test/123_entry_expand_section.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/binman/test/123_entry_expand_section.dts b/tools/binman/test/123_entry_expand_section.dts
new file mode 100644
index 0000000000..046f723434
--- /dev/null
+++ b/tools/binman/test/123_entry_expand_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;
+ };
+ };
+ };
+};