binman: Support packaging U-Boot for scenarios like OF_BOARD or OF_PRIOR_STAGE
authorBin Meng <bmeng.cn@gmail.com>
Mon, 10 May 2021 12:23:37 +0000 (20:23 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 19 May 2021 09:01:50 +0000 (17:01 +0800)
commit31eefd4380b2d0e6c251360b883cdad889ab2fe1
tree0ab473b64f0752c47f36da29cf645bd83e3e8315
parent1621d3c43414ea7b4307ef521e8ef574774af33f
binman: Support packaging U-Boot for scenarios like OF_BOARD or OF_PRIOR_STAGE

For scenarios like OF_BOARD or OF_PRIOR_STAGE, no device tree blob is
provided in the U-Boot build phase hence the binman node information
is not available. In order to support such use case, a new Kconfig
option BINMAN_STANDALONE_FDT is introduced, to tell the build system
that a device tree blob containing binman node is explicitly required
when using binman to package U-Boot.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile
dts/Kconfig
tools/binman/binman.rst