All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 3/4] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig
Date: Sun, 27 Aug 2017 11:22:46 +1200	[thread overview]
Message-ID: <CAFOYHZDH=JQuahwpE76Bz9Uwe_Qm4vKGZd9LgHoA+=6jx8GmQQ@mail.gmail.com> (raw)
In-Reply-To: <CAPnjgZ32da8TJgtUp6xkm90EFP8hDFidhv4vXQc0aYXVVDjE+w@mail.gmail.com>

On 27/08/2017 11:13 AM, "Simon Glass" <sjg@chromium.org> wrote:

On 20 August 2017 at 04:20, Chris Packham <judge.packham@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@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


Thanks I'll take a look. There may be a few other archs/families that could
benefit from an imply.

  reply	other threads:[~2017-08-26 23:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-20 10:20 [U-Boot] [RFC PATCH 0/4] usb: net: Migrate USB Ethernet to Kconfig Chris Packham
2017-08-20 10:20 ` [U-Boot] [RFC PATCH 1/4] Kconfig: drop CONFIG_USB_ETHER_DM9601 Chris Packham
2017-08-26 23:13   ` Simon Glass
2017-08-20 10:20 ` [U-Boot] [RFC PATCH 2/4] Kconfig: drop CONFIG_USB_ETHER_RNDIS Chris Packham
2017-08-26 23:13   ` Simon Glass
2017-08-20 10:20 ` [U-Boot] [RFC PATCH 3/4] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig Chris Packham
2017-08-26 23:13   ` Simon Glass
2017-08-26 23:22     ` Chris Packham [this message]
2017-08-20 10:20 ` [U-Boot] [RFC PATCH 4/4] usb: net: migrate USB Ethernet adapters " Chris Packham
2017-08-26 23:13   ` Simon Glass
2017-08-27 22:03 ` [U-Boot] [RFC PATCH 0/4] usb: net: Migrate USB Ethernet " Łukasz Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFOYHZDH=JQuahwpE76Bz9Uwe_Qm4vKGZd9LgHoA+=6jx8GmQQ@mail.gmail.com' \
    --to=judge.packham@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.