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

Tom Rini trini at konsulko.com
Thu Apr 20 15:14:44 UTC 2017


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!

-- 
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/7372b40a/attachment.sig>


More information about the U-Boot mailing list