summaryrefslogtreecommitdiff
path: root/tools/binman/README.entries
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-06 19:39:08 +0300
committerSimon Glass <sjg@chromium.org>2020-09-22 21:54:13 +0300
commitc0f1ebe9c1b9745e1cbdc742a11093da2c99a174 (patch)
treea85c305e9f3649c2fc268b586a87726df2b0e72a /tools/binman/README.entries
parent4ec40a7208db0e3294e266aacd23eddbae13c879 (diff)
downloadu-boot-c0f1ebe9c1b9745e1cbdc742a11093da2c99a174.tar.xz
binman: Allow selecting default FIT configuration
Add a new entry argument to the fit entry which allows selection of the default configuration to use. This is the 'default' property in the 'configurations' node. Update the Makefile to pass in the value of DEVICE_TREE or CONFIG_DEFAULT_DEVICE_TREE to provide this information. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'tools/binman/README.entries')
-rw-r--r--tools/binman/README.entries4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/README.entries b/tools/binman/README.entries
index d2628dffd5..c1d436563e 100644
--- a/tools/binman/README.entries
+++ b/tools/binman/README.entries
@@ -402,6 +402,10 @@ Available substitutions for '@' nodes are:
Note that if no devicetree files are provided (with '-a of-list' as above)
then no nodes will be generated.
+The 'default' property, if present, will be automatically set to the name
+if of configuration whose devicetree matches the 'default-dt' entry
+argument, e.g. with '-a default-dt=sun50i-a64-pine64-lts'.
+
Properties (in the 'fit' node itself):
fit,external-offset: Indicates that the contents of the FIT are external