[U-Boot] [PATCH 2/2] configs: Migrate CONFIG_USB_STORAGE

Masahiro Yamada yamada.masahiro at socionext.com
Fri Sep 9 06:52:34 CEST 2016


2016-09-09 10:19 GMT+09:00 Tom Rini <trini at konsulko.com>:
> In some cases we were missing CONFIG_USB=y so enable that when needed.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> The only change here is that due to how we deal with cmd/disk.c today
> we once again link this file in and get the strings on am43xx_evm* in
> SPL.  This will be fixed in another patch.


Reviewed-by: Masahiro Yamada <yamada.masahiro at socionext.com>


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.


-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list