[U-Boot] [PATCH 2/2] configs: Migrate CONFIG_USB_STORAGE
Tom Rini
trini at konsulko.com
Fri Sep 9 15:55:02 CEST 2016
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: <http://lists.denx.de/pipermail/u-boot/attachments/20160909/55bfc23e/attachment.sig>
More information about the U-Boot
mailing list