aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/README
diff options
context:
space:
mode:
authorSimon Glass2018-06-01 09:38:21 -0600
committerSimon Glass2018-06-07 11:25:08 -0800
commitc8d48efb2b373dc6893e7e9f2f6aaefe5d194719 (patch)
tree6f3b8315fc2e6fc02c1eede703a804162e7d044e /tools/binman/README
parent3b0c3821d6401106cc873a6c27a8ee31a8d466a4 (diff)
binman: Add support for adding a name prefix to entries
Sometimes we have several sections which repeat the same entries (e.g. for a read-only and read-write version of the same section). It is useful to be able to tell these entries apart by name. Add a new 'name-prefix' property for sections, which causes all entries within that section to have a given name prefix. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/README')
-rw-r--r--tools/binman/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/binman/README b/tools/binman/README
index 64e529f06b9..42ed4448bc2 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -417,11 +417,13 @@ and can be programmed:
binman {
section@0 {
read-only;
+ name-prefix = "ro-";
size = <0x100000>;
u-boot {
};
};
section@1 {
+ name-prefix = "rw-";
size = <0x100000>;
u-boot {
};
@@ -437,6 +439,12 @@ read-only:
Indicates that this section is read-only. This has no impact on binman's
operation, but his property can be read at run time.
+name-prefix:
+ This string is prepended to all the names of the binaries in the
+ section. In the example above, the 'u-boot' binaries which actually be
+ renamed to 'ro-u-boot' and 'rw-u-boot'. This can be useful to
+ distinguish binaries with otherwise identical names.
+
Special properties
------------------