]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: Add environment variable DEVICE_TREE to header
authorMichal Simek <michal.simek@xilinx.com>
Tue, 18 Feb 2020 14:03:13 +0000 (15:03 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Apr 2020 10:51:31 +0000 (12:51 +0200)
commitdacec83ce0f8c80b35ed9b4e18f4468ff8552069
treee4c9a3da24517a733da9a4dcce089b2ed5138c8d
parentf5a122e2abe9a4a589a4ae30145b1fdf4f5207d1
Makefile: Add environment variable DEVICE_TREE to header

Users have option to overwrite default device tree
(CONFIG_DEFAULT_DEVICE_TREE) via environment variable DEVICE_TREE.

Feature has been added long time ago by commit 74de8c9a1672
("dts/Makefile: Build the user specified dts") for a little bit different
reason.

But this variable can be also used for different purpose like choosing
proper configuration from FIT image in SPL.
And this is the functionality I would like to use on Xilinx Zynq devices
that current u-boot.img can be composed in the same way based on OF_LIST
and different configuration is taken based on platform specific SPL.
SPL requires low level ps7_init_gpl configuration that's why different
boards require different SPL with fixed board_fit_config_name_match().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile
arch/arm/mach-zynq/spl.c