[U-Boot] [PATCH 00/10] net: fec: Code Improvement/cleanups
Jagan Teki
jagan at amarulasolutions.com
Mon Jul 30 12:44:59 UTC 2018
dm code in fec_mxc has some quite few issues with mdio handling
and the dm vs non-dm code in fec_mxc looks very uncomfortable
to read and add new support.
This series is trying to fixe all necessary issues regarding fec_mxc,
along with necessary CONFIG options are moved into defconfig.
Require enough testing to get these changes to move further.
Jagan Teki (10):
configs: Drop imx27lite-common.h
configs: Move CONFIG_FEC_MXC
net: fec: Use PHY_INTERFACE_MODE_ for xcv_type
net: fec: Add default CONFIG_FEC_MXC_PHYADDR for few boards
net: fec: Use PHY_ADDR instead of FEC_MXC_PHYADDR
net: fec_mxc: Use udevice to retrive priv, in fec_phy_init
dm: net: fec: Move enet init in fec_enet
dm: net: fec: Refactor mdio_init code
dm: net: fec: Add support for PHY reset
net: fec: Setup common eth_ops code for dm and non-dm
board/compulab/cl-som-imx7/cl-som-imx7.c | 2 +-
.../freescale/mx6sxsabreauto/mx6sxsabreauto.c | 3 +-
.../mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 +-
board/freescale/mx7dsabresd/mx7dsabresd.c | 3 +-
board/samtec/vining_2000/vining_2000.c | 3 +-
board/sks-kinkel/sksimx6/sksimx6.c | 2 +-
board/technexion/pico-imx7d/pico-imx7d.c | 3 +-
board/toradex/colibri_imx7/colibri_imx7.c | 3 +-
board/tqc/tqma6/tqma6_mba6.c | 2 +-
board/udoo/neo/neo.c | 2 +-
configs/apalis_imx6_defconfig | 2 +
configs/apalis_imx6_nospl_com_defconfig | 2 +
configs/apalis_imx6_nospl_it_defconfig | 3 +
configs/apf27_defconfig | 3 +
configs/apx4devkit_defconfig | 1 +
configs/aristainetos2_defconfig | 1 +
configs/aristainetos2b_defconfig | 1 +
configs/aristainetos_defconfig | 1 +
configs/bg0900_defconfig | 1 +
configs/cgtqmx6eval_defconfig | 2 +
configs/cl-som-imx7_defconfig | 2 +
configs/cm_fx6_defconfig | 1 +
configs/colibri_imx6_defconfig | 2 +
configs/colibri_imx6_nospl_defconfig | 2 +
configs/colibri_imx7_defconfig | 1 +
configs/colibri_vf_defconfig | 1 +
configs/dms-ba16-1g_defconfig | 2 +
configs/dms-ba16_defconfig | 2 +
configs/flea3_defconfig | 2 +
configs/ge_bx50v3_defconfig | 3 +
configs/gwventana_emmc_defconfig | 1 +
configs/gwventana_gw5904_defconfig | 1 +
configs/gwventana_nand_defconfig | 1 +
configs/imx6dl_mamoj_defconfig | 1 +
configs/imx6qdl_icore_rqs_defconfig | 1 +
configs/liteboard_defconfig | 1 +
configs/marsboard_defconfig | 2 +
configs/mccmon6_nor_defconfig | 2 +
configs/mccmon6_sd_defconfig | 2 +
configs/mx25pdk_defconfig | 3 +
configs/mx28evk_auart_console_defconfig | 1 +
configs/mx28evk_defconfig | 1 +
configs/mx28evk_nand_defconfig | 1 +
configs/mx28evk_spi_defconfig | 1 +
configs/mx35pdk_defconfig | 3 +
configs/mx51evk_defconfig | 3 +
configs/mx53cx9020_defconfig | 2 +
configs/mx53evk_defconfig | 3 +
configs/mx53loco_defconfig | 3 +
configs/mx53ppd_defconfig | 3 +
configs/mx53smd_defconfig | 3 +
configs/mx6cuboxi_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 | 2 +
configs/mx6sabresd_defconfig | 2 +
configs/mx6slevk_defconfig | 1 +
configs/mx6slevk_spinor_defconfig | 1 +
configs/mx6slevk_spl_defconfig | 2 +
configs/mx6sxsabreauto_defconfig | 1 +
configs/mx6sxsabresd_defconfig | 2 +
configs/mx6sxsabresd_spl_defconfig | 2 +
configs/mx6ul_14x14_evk_defconfig | 2 +
configs/mx6ul_9x9_evk_defconfig | 2 +
configs/mx7dsabresd_defconfig | 1 +
configs/nitrogen6dl2g_defconfig | 2 +
configs/nitrogen6dl_defconfig | 2 +
configs/nitrogen6q2g_defconfig | 2 +
configs/nitrogen6q_defconfig | 2 +
configs/nitrogen6s1g_defconfig | 2 +
configs/nitrogen6s_defconfig | 2 +
configs/novena_defconfig | 2 +
configs/opos6uldev_defconfig | 1 +
configs/ot1200_defconfig | 2 +
configs/ot1200_spl_defconfig | 2 +
configs/pcm052_defconfig | 1 +
configs/pcm058_defconfig | 2 +
configs/pfla02_defconfig | 1 +
configs/pico-imx6ul_defconfig | 2 +
configs/pico-imx7d_defconfig | 2 +
configs/platinum_picon_defconfig | 1 +
configs/platinum_titanium_defconfig | 2 +
configs/riotboard_defconfig | 2 +
configs/sc_sps_1_defconfig | 1 +
configs/secomx6quq7_defconfig | 2 +
configs/sksimx6_defconfig | 1 +
configs/tbs2910_defconfig | 2 +
configs/titanium_defconfig | 2 +
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/ts4800_defconfig | 1 +
configs/udoo_defconfig | 2 +
configs/udoo_neo_defconfig | 1 +
configs/vf610twr_defconfig | 1 +
configs/vf610twr_nand_defconfig | 1 +
configs/vining_2000_defconfig | 1 +
configs/wandboard_defconfig | 2 +
configs/woodburn_defconfig | 2 +
configs/woodburn_sd_defconfig | 2 +
configs/xpress_defconfig | 1 +
configs/xpress_spl_defconfig | 1 +
configs/zc5202_defconfig | 2 +
configs/zc5601_defconfig | 2 +
configs/zmx25_defconfig | 2 +
doc/README.fec_mxc | 2 +-
drivers/net/Kconfig | 3 +-
drivers/net/fec_mxc.c | 483 ++++++++++--------
drivers/net/fec_mxc.h | 19 +-
drivers/net/phy/Kconfig | 1 +
include/configs/advantech_dms-ba16.h | 4 +-
include/configs/apalis_imx6.h | 4 +-
include/configs/apf27.h | 6 -
include/configs/apx4devkit.h | 2 -
include/configs/aristainetos-common.h | 2 -
include/configs/aristainetos.h | 2 +-
include/configs/aristainetos2.h | 2 +-
include/configs/aristainetos2b.h | 2 +-
include/configs/bg0900.h | 1 -
include/configs/cgtqmx6eval.h | 4 +-
include/configs/cl-som-imx7.h | 5 +-
include/configs/cm_fx6.h | 4 +-
include/configs/colibri_imx6.h | 4 +-
include/configs/colibri_imx7.h | 4 +-
include/configs/colibri_vf.h | 4 +-
include/configs/dh_imx6.h | 3 +-
include/configs/display5.h | 3 +-
include/configs/embestmx6boards.h | 4 +-
include/configs/flea3.h | 2 -
include/configs/ge_bx50v3.h | 4 +-
include/configs/gw_ventana.h | 4 +-
include/configs/imx27lite-common.h | 172 -------
include/configs/imx6-engicam.h | 11 -
include/configs/imx6_logic.h | 2 -
include/configs/imx6dl-mamoj.h | 3 -
include/configs/kp_imx6q_tpc.h | 3 +-
include/configs/liteboard.h | 4 +-
include/configs/mccmon6.h | 4 +-
include/configs/mx25pdk.h | 2 -
include/configs/mx28evk.h | 1 -
include/configs/mx35pdk.h | 2 -
include/configs/mx51evk.h | 3 -
include/configs/mx53cx9020.h | 1 -
include/configs/mx53evk.h | 2 -
include/configs/mx53loco.h | 2 -
include/configs/mx53ppd.h | 2 -
include/configs/mx53smd.h | 2 -
include/configs/mx6cuboxi.h | 4 +-
include/configs/mx6qarm2.h | 4 +-
include/configs/mx6sabre_common.h | 4 +-
include/configs/mx6slevk.h | 4 +-
include/configs/mx6sxsabreauto.h | 6 +-
include/configs/mx6sxsabresd.h | 5 +-
include/configs/mx6ul_14x14_evk.h | 7 +-
include/configs/mx7dsabresd.h | 4 +-
include/configs/mxs.h | 2 +-
include/configs/nitrogen6x.h | 4 +-
include/configs/novena.h | 4 +-
include/configs/opos6uldev.h | 3 +-
include/configs/ot1200.h | 4 +-
include/configs/pcm052.h | 4 +-
include/configs/pcm058.h | 4 +-
include/configs/pfla02.h | 3 +-
include/configs/pico-imx6ul.h | 4 +-
include/configs/pico-imx7d.h | 4 +-
include/configs/platinum.h | 1 -
include/configs/platinum_picon.h | 3 +-
include/configs/platinum_titanium.h | 3 +-
include/configs/sc_sps_1.h | 1 -
include/configs/secomx6quq7.h | 4 +-
include/configs/sksimx6.h | 3 +-
include/configs/tbs2910.h | 5 +-
include/configs/titanium.h | 4 +-
include/configs/tqma6.h | 1 -
include/configs/tqma6_mba6.h | 4 +-
include/configs/tqma6_wru4.h | 3 +-
include/configs/ts4800.h | 2 -
include/configs/udoo.h | 4 +-
include/configs/udoo_neo.h | 5 +-
include/configs/vf610twr.h | 4 +-
include/configs/vining_2000.h | 6 +-
include/configs/wandboard.h | 4 +-
include/configs/woodburn_common.h | 2 -
include/configs/xpress.h | 4 +-
include/configs/zc5202.h | 4 +-
include/configs/zc5601.h | 4 +-
include/configs/zmx25.h | 6 -
include/phy.h | 4 +
scripts/config_whitelist.txt | 1 -
196 files changed, 530 insertions(+), 618 deletions(-)
delete mode 100644 include/configs/imx27lite-common.h
--
2.18.0.321.gffc6fa0e3
More information about the U-Boot
mailing list