binman: Allow selecting default FIT configuration
authorSimon Glass <sjg@chromium.org>
Sun, 6 Sep 2020 16:39:08 +0000 (10:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:54:13 +0000 (12:54 -0600)
commitc0f1ebe9c1b9745e1cbdc742a11093da2c99a174
treea85c305e9f3649c2fc268b586a87726df2b0e72a
parent4ec40a7208db0e3294e266aacd23eddbae13c879
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>
Makefile
tools/binman/README.entries
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/172_fit_fdt.dts [moved from tools/binman/test/170_fit_fdt.dts with 95% similarity]