From: Tom Rini Date: Fri, 9 Sep 2016 09:55:02 -0400 Subject: [U-Boot] [PATCH 2/2] configs: Migrate CONFIG_USB_STORAGE In-Reply-To: References: <1473383945-6585-1-git-send-email-trini@konsulko.com> <1473383945-6585-2-git-send-email-trini@konsulko.com> Message-ID: <20160909135502.GW4990@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 Fri, Sep 09, 2016 at 01:52:34PM +0900, Masahiro Yamada wrote: [snip] > BTW, > > $ git grep CONFIG_USB=y configs/*_defconfig | wc > 669 669 30938 > $ git grep CONFIG_USB_STORAGE=y configs/*_defconfig | wc > 650 650 35349 > > > With this series, we will have 669 boards with CONFIG_USB. > Of the 669 boards, 650 boards define CONFIG_USB_STORAGE. > > Perhaps, "default y" might be suitable for USB_STORAGE, but > we can flip the default later if we find it useful. > > Anyway, let's move forward the Kconfig migration for now. > If we have all the defines in defconfigs, > we can reconsider the default and dependency any time later. Agreed we should put this off until later. But I think we need to find the right balance between "defconfigs should be small", "making a new board should be easy" and "customizing a reference platform to a real project should be easy". In the Linux kernel a single board (or so) defconfig is around 60-80 lines. We of course don't have quite so many knobs, but maybe around there is a good goal too. And looking at what we have today, yeah, we need to do some thinking about defaults and similar tricks. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: