binman: Support optional entries

Support entries which can be optional depending on their contents. This
allows special entry types which appear in the image only when needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-01-07 14:07:12 -07:00
parent 23ab4e0054
commit c8c9f3108a
7 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
binman {
u-boot {
};
_testing {
set-to-absent;
};
u-boot-img {
};
};
};