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

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Fri Jan 11 19:45:03 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 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 +---------
 configs/socfpga_arria5_defconfig              |  1 +
 configs/socfpga_cyclone5_defconfig            |  1 +
 configs/socfpga_dbm_soc1_defconfig            |  1 +
 configs/socfpga_de0_nano_soc_defconfig        |  1 +
 configs/socfpga_de10_nano_defconfig           |  1 +
 configs/socfpga_de1_soc_defconfig             |  1 +
 configs/socfpga_is1_defconfig                 |  1 +
 configs/socfpga_sockit_defconfig              |  1 +
 configs/socfpga_socrates_defconfig            |  1 +
 configs/socfpga_sr1500_defconfig              |  1 +
 configs/socfpga_vining_fpga_defconfig         |  1 +
 drivers/net/Kconfig                           |  2 +
 drivers/net/dwmac_socfpga.c                   | 87 +++++++------------
 16 files changed, 47 insertions(+), 164 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list