From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 24 Feb 2020 08:56:34 -0500 Subject: [PATCH 1/2] Makefile: Add environment variable DEVICE_TREE to header In-Reply-To: <65fe3fb4b7f682b4a292b261f0140b1f89f4610e.1582041753.git.michal.simek@xilinx.com> References: <65fe3fb4b7f682b4a292b261f0140b1f89f4610e.1582041753.git.michal.simek@xilinx.com> Message-ID: <20200224135634.GV18302@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 18, 2020 at 05:02:36PM +0100, Michal Simek wrote: > 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: