From: Tom Rini Date: Tue, 15 Jan 2019 21:40:05 -0500 Subject: [U-Boot] [U-Boot,v2] image: fix compiling without CMD_FDT In-Reply-To: <7be8f54c-7f45-8959-2c8d-46c7edfd2262@gmail.com> References: <7be8f54c-7f45-8959-2c8d-46c7edfd2262@gmail.com> Message-ID: <20190116024005.GY27429@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 Mon, Dec 17, 2018 at 08:14:42PM +0100, Simon Goldschmidt wrote: > Booting an image currently sets the environment variable "fdtaddr" > by calling into 'cmd/fdt.c'. As a result, linking U-Boot fails if > CMD_FDT is not enabled. > > Fix this by adding 'if (CONFIG_IS_ENABLED(CMD_FDT))' to the two > places where 'set_working_fdt_addr()' is called. > > Signed-off-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: