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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot