[U-Boot] [PATCH v5 0/6] Allow disabling non-FIT image loading from SPL

Tom Rini trini at konsulko.com
Wed Feb 15 23:59:13 UTC 2017


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: <http://lists.denx.de/pipermail/u-boot/attachments/20170215/4aed6b34/attachment.sig>


More information about the U-Boot mailing list