From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 20 Apr 2017 11:48:04 -0400 Subject: [U-Boot] [PATCH] Kconfig: Enable FIT support by default for TI platforms In-Reply-To: References: <20170420145237.7809-1-afd@ti.com> <20170420151444.GS19487@bill-the-cat> Message-ID: <20170420154804.GT19487@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 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 > >> --- > >> 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: