[U-Boot] [PATCH] Kconfig: Enable FIT support by default for TI platforms

Tom Rini trini at konsulko.com
Thu Apr 20 15:48:04 UTC 2017


On Thu, Apr 20, 2017 at 10:22:24AM -0500, Andrew F. Davis wrote:
> On 04/20/2017 10:14 AM, Tom Rini wrote:
> > On Thu, Apr 20, 2017 at 09:52:37AM -0500, Andrew F. Davis wrote:
> > 
> >> Almost all TI defconfigs enable this already, add this as a default
> >> and remove the explicit assignment.
> >>
> >> Signed-off-by: Andrew F. Davis <afd at ti.com>
> >> ---
> >>  Kconfig                                    | 1 +
> > [snip]
> >> diff --git a/Kconfig b/Kconfig
> >> index 1cf990dfce..396c600385 100644
> >> --- a/Kconfig
> >> +++ b/Kconfig
> >> @@ -144,6 +144,7 @@ menu "Boot images"
> >>  
> >>  config FIT
> >>  	bool "Support Flattened Image Tree"
> >> +	default y if ARCH_KEYSTONE || ARCH_OMAP2
> >>  	select MD5
> >>  	help
> >>  	  This option allows you to boot the new uImage structure,
> > 
> > This is where I think we start to want to use imply, now that we have
> > it.  As imply does not let us 'default n' or 'default
> > hex-int-or-string', we can't use it in those cases.  But imply works for
> > 'default y' cases, so we should have ARCH_OMAP2 and ARCH_KEYSTONE imply
> > FIT.  This keeps much of the changes out of the higher level Kconfig
> > files where we may get conflicts between patches.  Thanks!
> 
> I can make that change, but in this case I was thinking that at some
> point this will become just a default y for all platforms, so we
> wouldn't need "imply FIT" for every ARCH_*.

At some point in the future, yes, we might make FIT a default y and then
we would drop the various imply lines.  But that's a future clean-up :)
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/20170420/3b23fef8/attachment.sig>


More information about the U-Boot mailing list