[U-Boot] [PATCH v3 0/3] arm: socpfpga: gen5 clean up ETH RST & PHY mode

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Sun Jan 13 18:58:39 UTC 2019


Socfpga Gen5 uses ad-hoc code to unreset the ETH MACs and set their
PHY mode.

Change this to use the dwmac_socfpga net driver and remove the old
ad-hoc code.

Changes in v3:
- imply CONFIG_ETH_DESIGNWARE_SOCFGPA instead of changing all defconfigs

Changes in v2:
- remove detection of sub-mach via compatible version and handle
  all FPGAs the same
- select SYSCON and REGMAP via Kconfig
- only add CONFIG_ETH_DESIGNWARE_SOCFPGA since now REGMAP and SYSCON
  are selected by this one

Simon Goldschmidt (3):
  net: designware: socfpga: adapt to Gen5
  arm: socfpga: gen5 enable designware_socfpga
  arm: socfpga: gen5: remove hacked ETH RST handling

 .../mach-socfpga/include/mach/reset_manager.h |  2 -
 arch/arm/mach-socfpga/misc.c                  | 65 --------------
 arch/arm/mach-socfpga/misc_gen5.c             | 44 +---------
 drivers/net/Kconfig                           |  3 +
 drivers/net/dwmac_socfpga.c                   | 87 +++++++------------
 5 files changed, 37 insertions(+), 164 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list