[U-Boot] [RFC PATCH 3/4] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig

Simon Glass sjg at chromium.org
Sat Aug 26 23:13:18 UTC 2017


On 20 August 2017 at 04:20, Chris Packham <judge.packham at gmail.com> wrote:
> CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on
> USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and
> LAN78XX options under new menu. Finally update the defconfigs that need
> CONFIG_USB_HOST_ETHER.
>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---
>
>  configs/apalis_imx6_defconfig                             |  1 +
>  configs/apalis_imx6_nospl_com_defconfig                   |  1 +
>  configs/apalis_imx6_nospl_it_defconfig                    |  1 +
>  configs/arndale_defconfig                                 |  1 +
>  configs/bayleybay_defconfig                               |  1 +
>  configs/beaver_defconfig                                  |  1 +
>  configs/cardhu_defconfig                                  |  1 +
>  configs/cei-tk1-som_defconfig                             |  1 +
>  configs/cgtqmx6eval_defconfig                             |  1 +
>  configs/chromebook_link64_defconfig                       |  1 +
>  configs/chromebook_link_defconfig                         |  1 +
>  configs/chromebook_samus_defconfig                        |  1 +
>  configs/chromebox_panther_defconfig                       |  1 +
>  configs/cl-som-am57x_defconfig                            |  1 +
>  configs/cm_t54_defconfig                                  |  1 +
>  configs/colibri_imx6_defconfig                            |  1 +
>  configs/colibri_imx6_nospl_defconfig                      |  1 +
>  configs/colibri_t20_defconfig                             |  1 +
>  configs/colibri_t30_defconfig                             |  1 +
>  configs/conga-qeval20-qa3-e3845-internal-uart_defconfig   |  1 +
>  configs/conga-qeval20-qa3-e3845_defconfig                 |  1 +
>  configs/coreboot-x86_defconfig                            |  1 +
>  configs/cougarcanyon2_defconfig                           |  1 +
>  configs/crownbay_defconfig                                |  1 +
>  configs/dalmore_defconfig                                 |  1 +
>  configs/dfi-bt700-q7x-151_defconfig                       |  1 +
>  configs/dragonboard410c_defconfig                         |  1 +
>  configs/e2220-1170_defconfig                              |  1 +
>  configs/evb-rk3399_defconfig                              |  1 +
>  configs/fennec-rk3288_defconfig                           |  1 +
>  configs/firefly-rk3288_defconfig                          |  1 +
>  configs/firefly-rk3399_defconfig                          |  1 +
>  configs/galileo_defconfig                                 |  1 +
>  configs/gwventana_emmc_defconfig                          |  1 +
>  configs/gwventana_gw5904_defconfig                        |  1 +
>  configs/gwventana_nand_defconfig                          |  1 +
>  configs/harmony_defconfig                                 |  1 +
>  configs/hikey_defconfig                                   |  1 +
>  configs/jetson-tk1_defconfig                              |  1 +
>  configs/kylin-rk3036_defconfig                            |  1 +
>  configs/m53evk_defconfig                                  |  1 +
>  configs/marsboard_defconfig                               |  1 +
>  configs/mcx_defconfig                                     |  1 +
>  configs/medcom-wide_defconfig                             |  1 +
>  configs/minnowmax_defconfig                               |  1 +
>  configs/miqi-rk3288_defconfig                             |  1 +
>  configs/mvebu_db-88f3720_defconfig                        |  1 +
>  configs/mvebu_db_armada8k_defconfig                       |  1 +
>  configs/mvebu_espressobin-88f3720_defconfig               |  1 +
>  configs/mvebu_mcbin-88f8040_defconfig                     |  1 +
>  configs/mx23_olinuxino_defconfig                          |  1 +
>  configs/mx28evk_auart_console_defconfig                   |  1 +
>  configs/mx28evk_defconfig                                 |  1 +
>  configs/mx28evk_nand_defconfig                            |  1 +
>  configs/mx28evk_spi_defconfig                             |  1 +
>  configs/mx51evk_defconfig                                 |  1 +
>  configs/mx53loco_defconfig                                |  1 +
>  configs/mx6dlarm2_defconfig                               |  1 +
>  configs/mx6dlarm2_lpddr2_defconfig                        |  1 +
>  configs/mx6qarm2_defconfig                                |  1 +
>  configs/mx6qarm2_lpddr2_defconfig                         |  1 +
>  configs/mx6qsabrelite_defconfig                           |  1 +
>  configs/mx6sabreauto_defconfig                            |  1 +
>  configs/mx6sabresd_defconfig                              |  1 +
>  configs/mx6slevk_defconfig                                |  1 +
>  configs/mx6slevk_spinor_defconfig                         |  1 +
>  configs/mx6slevk_spl_defconfig                            |  1 +
>  configs/mx6sllevk_defconfig                               |  1 +
>  configs/mx6sllevk_plugin_defconfig                        |  1 +
>  configs/mx6sxsabreauto_defconfig                          |  1 +
>  configs/mx6sxsabresd_defconfig                            |  1 +
>  configs/mx6sxsabresd_spl_defconfig                        |  1 +
>  configs/mx7dsabresd_defconfig                             |  1 +
>  configs/mx7dsabresd_secure_defconfig                      |  1 +
>  configs/nitrogen6dl2g_defconfig                           |  1 +
>  configs/nitrogen6dl_defconfig                             |  1 +
>  configs/nitrogen6q2g_defconfig                            |  1 +
>  configs/nitrogen6q_defconfig                              |  1 +
>  configs/nitrogen6s1g_defconfig                            |  1 +
>  configs/nitrogen6s_defconfig                              |  1 +
>  configs/novena_defconfig                                  |  1 +
>  configs/nyan-big_defconfig                                |  1 +
>  configs/odroid-xu3_defconfig                              |  1 +
>  configs/odroid_defconfig                                  |  1 +
>  configs/omap3_beagle_defconfig                            |  1 +
>  configs/omap3_ha_defconfig                                |  1 +
>  configs/omap4_panda_defconfig                             |  1 +
>  configs/omap5_uevm_defconfig                              |  1 +
>  configs/p2371-0000_defconfig                              |  1 +
>  configs/p2371-2180_defconfig                              |  1 +
>  configs/p2571_defconfig                                   |  1 +
>  configs/paz00_defconfig                                   |  1 +
>  configs/peach-pi_defconfig                                |  1 +
>  configs/peach-pit_defconfig                               |  1 +
>  configs/phycore-rk3288_defconfig                          |  1 +
>  configs/plutux_defconfig                                  |  1 +
>  configs/poplar_defconfig                                  |  1 +
>  configs/popmetal-rk3288_defconfig                         |  1 +
>  configs/puma-rk3399_defconfig                             |  1 +
>  configs/qemu-x86_64_defconfig                             |  1 +
>  configs/qemu-x86_defconfig                                |  1 +
>  configs/qemu-x86_efi_payload32_defconfig                  |  1 +
>  configs/qemu-x86_efi_payload64_defconfig                  |  1 +
>  configs/riotboard_defconfig                               |  1 +
>  configs/rpi_2_defconfig                                   |  1 +
>  configs/rpi_3_32b_defconfig                               |  1 +
>  configs/rpi_3_defconfig                                   |  1 +
>  configs/rpi_defconfig                                     |  1 +
>  configs/seaboard_defconfig                                |  1 +
>  configs/smartweb_defconfig                                |  1 +
>  configs/smdk5250_defconfig                                |  1 +
>  configs/smdk5420_defconfig                                |  1 +
>  configs/snow_defconfig                                    |  1 +
>  configs/som-db5800-som-6867_defconfig                     |  1 +
>  configs/spring_defconfig                                  |  1 +
>  configs/tao3530_defconfig                                 |  1 +
>  configs/tec-ng_defconfig                                  |  1 +
>  configs/tec_defconfig                                     |  1 +
>  configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig |  1 +
>  configs/theadorable-x86-conga-qa3-e3845_defconfig         |  1 +
>  configs/theadorable-x86-dfi-bt700_defconfig               |  1 +
>  configs/tinker-rk3288_defconfig                           |  1 +
>  configs/tqma6dl_mba6_mmc_defconfig                        |  1 +
>  configs/tqma6dl_mba6_spi_defconfig                        |  1 +
>  configs/tqma6q_mba6_mmc_defconfig                         |  1 +
>  configs/tqma6q_mba6_spi_defconfig                         |  1 +
>  configs/tqma6s_mba6_mmc_defconfig                         |  1 +
>  configs/tqma6s_mba6_spi_defconfig                         |  1 +
>  configs/tqma6s_wru4_mmc_defconfig                         |  1 +
>  configs/trimslice_defconfig                               |  1 +
>  configs/venice2_defconfig                                 |  1 +
>  configs/ventana_defconfig                                 |  1 +
>  configs/vinco_defconfig                                   |  1 +
>  configs/vining_2000_defconfig                             |  1 +
>  drivers/usb/eth/Kconfig                                   | 12 +++++++++++-
>  include/configs/apalis_imx6.h                             |  1 -
>  include/configs/beaver.h                                  |  1 -
>  include/configs/cardhu.h                                  |  1 -
>  include/configs/cei-tk1-som.h                             |  1 -
>  include/configs/cgtqmx6eval.h                             |  1 -
>  include/configs/cl-som-am57x.h                            |  1 -
>  include/configs/cm_t54.h                                  |  1 -
>  include/configs/colibri_imx6.h                            |  1 -
>  include/configs/colibri_t20.h                             |  1 -
>  include/configs/colibri_t30.h                             |  1 -
>  include/configs/dalmore.h                                 |  1 -
>  include/configs/dfi-bt700.h                               |  1 -
>  include/configs/dragonboard410c.h                         |  2 --
>  include/configs/e2220-1170.h                              |  1 -
>  include/configs/embestmx6boards.h                         |  1 -
>  include/configs/exynos5-common.h                          |  1 -
>  include/configs/exynos5250-common.h                       |  1 -
>  include/configs/gw_ventana.h                              |  1 -
>  include/configs/harmony.h                                 |  1 -
>  include/configs/hikey.h                                   |  1 -
>  include/configs/jetson-tk1.h                              |  1 -
>  include/configs/m53evk.h                                  |  1 -
>  include/configs/mcx.h                                     |  1 -
>  include/configs/medcom-wide.h                             |  1 -
>  include/configs/mvebu_armada-37xx.h                       |  1 -
>  include/configs/mvebu_armada-8k.h                         |  1 -
>  include/configs/mx23_olinuxino.h                          |  1 -
>  include/configs/mx28evk.h                                 |  1 -
>  include/configs/mx51evk.h                                 |  1 -
>  include/configs/mx53cx9020.h                              |  1 -
>  include/configs/mx53loco.h                                |  1 -
>  include/configs/mx6qarm2.h                                |  1 -
>  include/configs/mx6sabreauto.h                            |  1 -
>  include/configs/mx6sabresd.h                              |  1 -
>  include/configs/mx6slevk.h                                |  1 -
>  include/configs/mx6sllevk.h                               |  1 -
>  include/configs/mx6sxsabreauto.h                          |  1 -
>  include/configs/mx6sxsabresd.h                            |  1 -
>  include/configs/mx7dsabresd.h                             |  1 -
>  include/configs/nitrogen6x.h                              |  1 -
>  include/configs/novena.h                                  |  1 -
>  include/configs/nyan-big.h                                |  1 -
>  include/configs/odroid.h                                  |  1 -
>  include/configs/omap3_beagle.h                            |  1 -
>  include/configs/omap4_panda.h                             |  1 -
>  include/configs/omap5_uevm.h                              |  1 -
>  include/configs/p2371-0000.h                              |  1 -
>  include/configs/p2371-2180.h                              |  1 -
>  include/configs/p2571.h                                   |  1 -
>  include/configs/paz00.h                                   |  1 -
>  include/configs/plutux.h                                  |  1 -
>  include/configs/poplar.h                                  |  1 -
>  include/configs/rk3036_common.h                           |  1 -
>  include/configs/rk3188_common.h                           |  1 -
>  include/configs/rk322x_common.h                           |  1 -
>  include/configs/rk3288_common.h                           |  1 -
>  include/configs/rk3399_common.h                           |  1 -
>  include/configs/rpi.h                                     |  1 -
>  include/configs/seaboard.h                                |  1 -
>  include/configs/smartweb.h                                |  1 -
>  include/configs/tao3530.h                                 |  1 -
>  include/configs/tec-ng.h                                  |  1 -
>  include/configs/tec.h                                     |  1 -
>  include/configs/theadorable-x86-common.h                  |  1 -
>  include/configs/tqma6.h                                   |  1 -
>  include/configs/trimslice.h                               |  1 -
>  include/configs/venice2.h                                 |  1 -
>  include/configs/ventana.h                                 |  1 -
>  include/configs/vinco.h                                   |  1 -
>  include/configs/vining_2000.h                             |  1 -
>  include/configs/x86-common.h                              |  1 -
>  scripts/config_whitelist.txt                              |  1 -
>  207 files changed, 145 insertions(+), 74 deletions(-)
>

I wonder if you could add an imply for x86 and tegra?

You can find and add these sorts of things with:

./tools/moveconfig.py -b    # build database

./tools/moveconfig.py -i CONFIG_USB_HOST_ETHER    # show things that
imply this config

./tools/moveconfig.py -i CONFIG_USB_HOST_ETHER -a
"CONFIG_X86,CONFIG_TEGRA"   # add 'imply' statements in Kconfig


More information about the U-Boot mailing list