From: Tom Rini Date: Fri, 10 May 2019 07:12:05 -0400 Subject: [U-Boot] [PATCH] Make FIT support really optional In-Reply-To: <20190503203705.4371-1-fontaine.fabrice@gmail.com> References: <20190503203705.4371-1-fontaine.fabrice@gmail.com> Message-ID: <20190510111205.GT25571@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Fri, May 03, 2019 at 10:37:05PM +0200, Fabrice Fontaine wrote: > Due to some mistakes in the source code, it was not possible to really > turn FIT support off. This commit fixes the problem by means of the > following changes: > > - Enclose "bootm_host_load_image" and "bootm_host_load_images" between > checks for CONFIG_FIT_SIGNATURE, in common/bootm.c. > > - Enclose the declaration of "bootm_host_load_images" between checks for > CONFIG_FIT_SIGNATURE, in common/bootm.h. > > - Condition the compilation and linking of fit_common.o fit_image.o > image-host.o common/image-fit.o to CONFIG_FIT=y, in tools/Makefile. > > Signed-off-by: Carlos Santos > [fabio: adapt for 2016.07] > Signed-off-by: Fabio Estevam > [Ricardo: fix conditional compilation and linking of the files mentioned above > for 2016.07] > Signed-off-by: Ricardo Martincoski > [Jörg: adapt for 2019.01] > Signed-off-by: Jörg Krause > [Retrieved from: > https://git.buildroot.net/buildroot/tree/package/uboot-tools/0003-Make-FIT-support-really-optional.patch] > Signed-off-by: Fabrice Fontaine 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: