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

Andrew F. Davis afd at ti.com
Thu Apr 20 15:22:24 UTC 2017


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_*.


More information about the U-Boot mailing list