[PATCH u-boot-marvell 00/19] some mvneta changes, cleanups, fixes

Marek Behún kabel at kernel.org
Wed Apr 27 12:41:43 CEST 2022


From: Marek Behún <marek.behun at nic.cz>

Hello Stefan,

here come some refactors, cleanups and fixed for the mvneta driver.

Marek Behún (19):
  net: mvneta: Get rid of platdata
  net: mvneta: Fix 10Mbps speed
  net: mvneta: Use DM MDIO API for connecting PHY
  net: mvneta: Remember fixed link instead of PHY address in priv data
  arm: mvebu: Espressobin: Use DM registered MDIO to configure switch
  net: mdio-uclass: add dm_phy_find_by_ofnode() helper
  arm: mvebu: turris_mox: Use DM registered MDIO
  net: mvneta: Don't register MDIO bus
  net: mvneta: Fix unused variable warning if DM_GPIO is disabled
  net: mvneta: Drop one indentation level in mvneta_adjust_link()
  net: mvneta: Use bool instead of int for boolean variable
  net: mvneta: Drop unnecessary space
  net: mventa: Don't check for CONFIG_PHYLIB
  net: mvneta: Rename CONFIG_NR_CPUS to MVNETA_NR_CPUS
  net: mvneta: Convert to use PHY_FIXED for fixed-link
  net: mvneta: Write PHY address just before enabling HW polling
  net: mvneta: Drop fixed_link member from private struct
  net: mvneta: Disable fixed PHY code if PHY_FIXED is not compiled in
  net: mvneta: Drop unneeded macro

 .../dts/armada-3720-turris-mox-u-boot.dtsi    |  19 -
 board/CZ.NIC/turris_mox/turris_mox.c          |  88 ++---
 board/Marvell/mvebu_armada-37xx/board.c       |  26 +-
 configs/clearfog_defconfig                    |   1 +
 configs/controlcenterdc_defconfig             |   1 +
 configs/db-88f6820-amc_defconfig              |   1 +
 configs/db-88f6820-gp_defconfig               |   1 +
 configs/db-mv784mp-gp_defconfig               |   1 +
 configs/ds414_defconfig                       |   1 +
 configs/helios4_defconfig                     |   1 +
 configs/maxbcm_defconfig                      |   1 +
 configs/mvebu_espressobin-88f3720_defconfig   |   3 +
 configs/theadorable_debug_defconfig           |   1 +
 configs/turris_mox_defconfig                  |   1 +
 configs/turris_omnia_defconfig                |   2 +
 configs/uDPU_defconfig                        |   1 +
 drivers/net/Kconfig                           |   1 +
 drivers/net/mvneta.c                          | 343 ++++--------------
 include/miiphy.h                              |   9 +
 net/mdio-uclass.c                             |  22 ++
 20 files changed, 181 insertions(+), 343 deletions(-)

-- 
2.35.1



More information about the U-Boot mailing list