From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 30 Nov 2017 10:36:16 -0500 Subject: [U-Boot] spl: make CONFIG_OF_EMBED pass dts through fdtgrep In-Reply-To: References: Message-ID: <20171130153616.GC3587@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, Nov 21, 2017 at 12:29:56PM +0000, Goldschmidt Simon wrote: > Building spl with CONFIG_OF_EMBED enabled results in an error message > on my board: "SPL image too big". This is because the fdtgrep build > step is only executed for CONFIG_OF_SEPARATE. > > Fix this by moving the fdtgrep build step ('cmd_fdtgreo') from > scripts/Makefile.spl to dts/Makefile so that the reduced dtb is > available for all kinds of spl builds. > > The resulting variable name for the embedded device tree blob changes, > too, which is why common.h and fdtdec.c have tiny changes. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass 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: