[U-Boot] [RFC PATCH 0/4] usb: net: Migrate USB Ethernet to Kconfig

Ɓukasz Majewski lukma at denx.de
Sun Aug 27 22:03:48 UTC 2017


Hi Chris,

> I ran into a few problems running moveconfig.py mainly due to boards
> that include a common .h file. I'm not confident I've captured all the
> defconfigs that need CONFIG_USB_HOST_ETHER or one of the specific
> drivers. Is there a more fool-proof way of catching these cases?
> Needless to say this probably isn't ready for 2017.09 but hopefully I
> can polish it enough for the next release.

Those patches look OK for me.

I've tried to apply them on top of u-boot-usb/master branch [1].

I've succeed with two of them (1,2), but merging third failed.

Could you rebase your patch set on top of [1] ?

Your patches will be probably merged in the next merge window.

[1] http://git.denx.de/?p=u-boot/u-boot-usb.git;a=summary

>
> Chris Packham (4):
>   Kconfig: drop CONFIG_USB_ETHER_DM9601
>   Kconfig: drop CONFIG_USB_ETHER_RNDIS
>   usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig
>   usb: net: migrate USB Ethernet adapters to Kconfig
>
>  configs/apalis_imx6_defconfig                      |  1 +
>  configs/apalis_imx6_nospl_com_defconfig            |  1 +
>  configs/apalis_imx6_nospl_it_defconfig             |  1 +
>  configs/arndale_defconfig                          |  5 +++
>  configs/bayleybay_defconfig                        |  3 ++
>  configs/beaver_defconfig                           |  2 +
>  configs/cardhu_defconfig                           |  2 +
>  configs/cei-tk1-som_defconfig                      |  2 +
>  configs/cgtqmx6eval_defconfig                      |  2 +
>  configs/chromebook_link64_defconfig                |  3 ++
>  configs/chromebook_link_defconfig                  |  3 ++
>  configs/chromebook_samus_defconfig                 |  3 ++
>  configs/chromebox_panther_defconfig                |  3 ++
>  configs/cl-som-am57x_defconfig                     |  4 ++
>  configs/cm_t54_defconfig                           |  4 ++
>  configs/colibri_imx6_defconfig                     |  1 +
>  configs/colibri_imx6_nospl_defconfig               |  1 +
>  configs/colibri_t20_defconfig                      |  2 +
>  configs/colibri_t30_defconfig                      |  2 +
>  ...conga-qeval20-qa3-e3845-internal-uart_defconfig |  3 ++
>  configs/conga-qeval20-qa3-e3845_defconfig          |  3 ++
>  configs/coreboot-x86_defconfig                     |  3 ++
>  configs/cougarcanyon2_defconfig                    |  3 ++
>  configs/crownbay_defconfig                         |  3 ++
>  configs/dalmore_defconfig                          |  2 +
>  configs/dfi-bt700-q7x-151_defconfig                |  5 +++
>  configs/dragonboard410c_defconfig                  |  5 +++
>  configs/e2220-1170_defconfig                       |  2 +
>  configs/evb-rk3399_defconfig                       |  6 +++
>  configs/fennec-rk3288_defconfig                    |  3 ++
>  configs/firefly-rk3288_defconfig                   |  3 ++
>  configs/firefly-rk3399_defconfig                   |  6 +++
>  configs/galileo_defconfig                          |  3 ++
>  configs/gwventana_emmc_defconfig                   |  3 ++
>  configs/gwventana_gw5904_defconfig                 |  3 ++
>  configs/gwventana_nand_defconfig                   |  3 ++
>  configs/harmony_defconfig                          |  4 ++
>  configs/hikey_defconfig                            |  3 ++
>  configs/jetson-tk1_defconfig                       |  2 +
>  configs/kylin-rk3036_defconfig                     |  3 ++
>  configs/m53evk_defconfig                           |  4 ++
>  configs/marsboard_defconfig                        |  2 +
>  configs/mcx_defconfig                              |  3 ++
>  configs/medcom-wide_defconfig                      |  2 +
>  configs/minnowmax_defconfig                        |  3 ++
>  configs/miqi-rk3288_defconfig                      |  3 ++
>  configs/mvebu_db-88f3720_defconfig                 |  5 +++
>  configs/mvebu_db_armada8k_defconfig                |  5 +++
>  configs/mvebu_espressobin-88f3720_defconfig        |  5 +++
>  configs/mvebu_mcbin-88f8040_defconfig              |  5 +++
>  configs/mx23_olinuxino_defconfig                   |  2 +
>  configs/mx28evk_auart_console_defconfig            |  3 ++
>  configs/mx28evk_defconfig                          |  3 ++
>  configs/mx28evk_nand_defconfig                     |  3 ++
>  configs/mx28evk_spi_defconfig                      |  3 ++
>  configs/mx51evk_defconfig                          |  3 ++
>  configs/mx53loco_defconfig                         |  4 ++
>  configs/mx6dlarm2_defconfig                        |  2 +
>  configs/mx6dlarm2_lpddr2_defconfig                 |  2 +
>  configs/mx6qarm2_defconfig                         |  2 +
>  configs/mx6qarm2_lpddr2_defconfig                  |  2 +
>  configs/mx6qsabrelite_defconfig                    |  4 ++
>  configs/mx6sabreauto_defconfig                     |  2 +
>  configs/mx6sabresd_defconfig                       |  2 +
>  configs/mx6slevk_defconfig                         |  2 +
>  configs/mx6slevk_spinor_defconfig                  |  2 +
>  configs/mx6slevk_spl_defconfig                     |  2 +
>  configs/mx6sllevk_defconfig                        |  3 ++
>  configs/mx6sllevk_plugin_defconfig                 |  3 ++
>  configs/mx6sxsabreauto_defconfig                   |  2 +
>  configs/mx6sxsabresd_defconfig                     |  2 +
>  configs/mx6sxsabresd_spl_defconfig                 |  2 +
>  configs/mx7dsabresd_defconfig                      |  2 +
>  configs/mx7dsabresd_secure_defconfig               |  2 +
>  configs/nitrogen6dl2g_defconfig                    |  4 ++
>  configs/nitrogen6dl_defconfig                      |  4 ++
>  configs/nitrogen6q2g_defconfig                     |  4 ++
>  configs/nitrogen6q_defconfig                       |  4 ++
>  configs/nitrogen6s1g_defconfig                     |  4 ++
>  configs/nitrogen6s_defconfig                       |  4 ++
>  configs/novena_defconfig                           |  3 ++
>  configs/nyan-big_defconfig                         |  2 +
>  configs/odroid-xu3_defconfig                       |  4 ++
>  configs/odroid_defconfig                           |  2 +
>  configs/omap3_beagle_defconfig                     |  4 ++
>  configs/omap3_ha_defconfig                         |  2 +
>  configs/omap4_panda_defconfig                      |  2 +
>  configs/omap5_uevm_defconfig                       |  2 +
>  configs/p2371-0000_defconfig                       |  2 +
>  configs/p2371-2180_defconfig                       |  2 +
>  configs/p2571_defconfig                            |  2 +
>  configs/paz00_defconfig                            |  2 +
>  configs/peach-pi_defconfig                         |  4 ++
>  configs/peach-pit_defconfig                        |  4 ++
>  configs/phycore-rk3288_defconfig                   |  3 ++
>  configs/plutux_defconfig                           |  2 +
>  configs/poplar_defconfig                           |  2 +
>  configs/popmetal-rk3288_defconfig                  |  3 ++
>  configs/puma-rk3399_defconfig                      |  6 +++
>  configs/qemu-x86_64_defconfig                      |  3 ++
>  configs/qemu-x86_defconfig                         |  3 ++
>  configs/qemu-x86_efi_payload32_defconfig           |  3 ++
>  configs/qemu-x86_efi_payload64_defconfig           |  3 ++
>  configs/riotboard_defconfig                        |  2 +
>  configs/rpi_2_defconfig                            |  2 +
>  configs/rpi_3_32b_defconfig                        |  2 +
>  configs/rpi_3_defconfig                            |  2 +
>  configs/rpi_defconfig                              |  2 +
>  configs/seaboard_defconfig                         |  2 +
>  configs/smartweb_defconfig                         |  3 ++
>  configs/smdk5250_defconfig                         |  5 +++
>  configs/smdk5420_defconfig                         |  4 ++
>  configs/snow_defconfig                             |  5 +++
>  configs/som-db5800-som-6867_defconfig              |  3 ++
>  configs/spring_defconfig                           |  5 +++
>  configs/tao3530_defconfig                          |  2 +
>  configs/tec-ng_defconfig                           |  2 +
>  configs/tec_defconfig                              |  2 +
>  ...eadorable-x86-conga-qa3-e3845-pcie-x4_defconfig |  5 +++
>  configs/theadorable-x86-conga-qa3-e3845_defconfig  |  5 +++
>  configs/theadorable-x86-dfi-bt700_defconfig        |  5 +++
>  configs/tinker-rk3288_defconfig                    |  3 ++
>  configs/tqma6dl_mba6_mmc_defconfig                 |  2 +
>  configs/tqma6dl_mba6_spi_defconfig                 |  2 +
>  configs/tqma6q_mba6_mmc_defconfig                  |  2 +
>  configs/tqma6q_mba6_spi_defconfig                  |  2 +
>  configs/tqma6s_mba6_mmc_defconfig                  |  2 +
>  configs/tqma6s_mba6_spi_defconfig                  |  2 +
>  configs/tqma6s_wru4_mmc_defconfig                  |  2 +
>  configs/trimslice_defconfig                        |  2 +
>  configs/venice2_defconfig                          |  2 +
>  configs/ventana_defconfig                          |  2 +
>  configs/vinco_defconfig                            |  2 +
>  configs/vining_2000_defconfig                      |  2 +
>  drivers/usb/eth/Kconfig                            | 48 +++++++++++++++++++++-
>  include/configs/apalis_imx6.h                      |  1 -
>  include/configs/beaver.h                           |  2 -
>  include/configs/cardhu.h                           |  2 -
>  include/configs/cei-tk1-som.h                      |  2 -
>  include/configs/cgtqmx6eval.h                      |  2 -
>  include/configs/cl-som-am57x.h                     |  5 ---
>  include/configs/cm_t54.h                           |  5 ---
>  include/configs/colibri_imx6.h                     |  1 -
>  include/configs/colibri_t20.h                      |  2 -
>  include/configs/colibri_t30.h                      |  2 -
>  include/configs/dalmore.h                          |  2 -
>  include/configs/dfi-bt700.h                        |  6 ---
>  include/configs/dragonboard410c.h                  |  7 ----
>  include/configs/e2220-1170.h                       |  2 -
>  include/configs/embestmx6boards.h                  |  2 -
>  include/configs/exynos5-common.h                   |  4 --
>  include/configs/exynos5250-common.h                |  4 --
>  include/configs/gw_ventana.h                       |  3 --
>  include/configs/harmony.h                          |  4 --
>  include/configs/hikey.h                            |  3 --
>  include/configs/jetson-tk1.h                       |  2 -
>  include/configs/m53evk.h                           |  4 --
>  include/configs/mcx.h                              |  3 --
>  include/configs/medcom-wide.h                      |  2 -
>  include/configs/mvebu_armada-37xx.h                |  5 ---
>  include/configs/mvebu_armada-8k.h                  |  5 ---
>  include/configs/mx23_olinuxino.h                   |  4 --
>  include/configs/mx28evk.h                          |  3 --
>  include/configs/mx51evk.h                          |  3 --
>  include/configs/mx53cx9020.h                       |  4 --
>  include/configs/mx53loco.h                         |  4 --
>  include/configs/mx6qarm2.h                         |  2 -
>  include/configs/mx6sabreauto.h                     |  2 -
>  include/configs/mx6sabresd.h                       |  2 -
>  include/configs/mx6slevk.h                         |  2 -
>  include/configs/mx6sllevk.h                        |  3 --
>  include/configs/mx6sxsabreauto.h                   |  2 -
>  include/configs/mx6sxsabresd.h                     |  2 -
>  include/configs/mx7dsabresd.h                      |  2 -
>  include/configs/nitrogen6x.h                       |  4 --
>  include/configs/novena.h                           |  3 --
>  include/configs/nyan-big.h                         |  2 -
>  include/configs/odroid.h                           |  3 --
>  include/configs/omap3_beagle.h                     |  6 ---
>  include/configs/omap3_evm.h                        |  1 -
>  include/configs/omap3_logic.h                      |  1 -
>  include/configs/omap4_panda.h                      |  2 -
>  include/configs/omap5_uevm.h                       |  2 -
>  include/configs/p2371-0000.h                       |  2 -
>  include/configs/p2371-2180.h                       |  2 -
>  include/configs/p2571.h                            |  2 -
>  include/configs/paz00.h                            |  2 -
>  include/configs/plutux.h                           |  2 -
>  include/configs/poplar.h                           |  2 -
>  include/configs/rk3036_common.h                    |  5 ---
>  include/configs/rk3188_common.h                    |  5 ---
>  include/configs/rk322x_common.h                    |  5 ---
>  include/configs/rk3288_common.h                    |  5 ---
>  include/configs/rk3399_common.h                    |  7 ----
>  include/configs/rpi.h                              |  2 -
>  include/configs/seaboard.h                         |  2 -
>  include/configs/smartweb.h                         |  3 --
>  include/configs/tao3530.h                          |  4 --
>  include/configs/tec-ng.h                           |  2 -
>  include/configs/tec.h                              |  2 -
>  include/configs/theadorable-x86-common.h           |  6 ---
>  include/configs/tqma6.h                            |  2 -
>  include/configs/trimslice.h                        |  2 -
>  include/configs/venice2.h                          |  2 -
>  include/configs/ventana.h                          |  2 -
>  include/configs/vinco.h                            |  4 --
>  include/configs/vining_2000.h                      |  2 -
>  include/configs/x86-common.h                       |  3 --
>  scripts/config_whitelist.txt                       |  9 ----
>  209 files changed, 433 insertions(+), 228 deletions(-)
>


-- 
Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de


More information about the U-Boot mailing list