From: Tom Rini Date: Wed, 15 Feb 2017 18:59:13 -0500 Subject: [U-Boot] [PATCH v5 0/6] Allow disabling non-FIT image loading from SPL In-Reply-To: <20170215194551.18732-1-afd@ti.com> References: <20170215194551.18732-1-afd@ti.com> Message-ID: <20170215235913.GK26129@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 Wed, Feb 15, 2017 at 01:45:45PM -0600, Andrew F. Davis wrote: > Hello all, > > To address a needed feature brought up by Andreas[0], we need a way to > disable SPL from loading non-FIT images. > > The function spl_parse_image_header is common to all SPL loading paths > (common/spl/spl_(nand|net|nor|etc..)) so we add the check here. > > This version of the series is a bit different than the last 2 due > to suggestions by Simon, instead of a negative option disabling > non-FIT images, we allow the other image format's support to be > toggled off, and do that on HS boards. I think this would be cleaner if we introduce the symbols to be default n if TI_SECURE_DEVICE and then we don't have to modify the defconfig files. That said, we should probably do that as a new patch #3 so it's clear in the commit history when we default it off. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: