[U-Boot] [PATCH v2 0/8] Add network support for Luton SoCs

Horatiu Vultur horatiu.vultur at microchip.com
Wed Jan 30 12:29:33 UTC 2019


This series adds network support for Luton SoCs. Currently
there is not support for Luton SoCs in Linux.

v2-changes:
 - reuse functions from ocelot for luton network driver

Horatiu Vultur (8):
  net: mscc: Move ocelot_switch to mscc_switch folder.
  net: mscc: Move miim commands into separate file.
  net: mscc: Move ocelot_send and ocelot_recv in a different file.
  net: mscc: Move mac_table_add function into different file.
  net: mscc: Remove unused variables
  mips: mscc: luton: Add ethernet nodes for Luton.
  net: Add MSCC Luton networkd driver.
  configs: mscc_luton: Add network support.

 MAINTAINERS                                    |   2 +-
 arch/mips/dts/luton_pcb090.dts                 |  51 ++
 arch/mips/dts/luton_pcb091.dts                 |  51 ++
 arch/mips/dts/mscc,luton.dtsi                  | 165 ++++++
 configs/mscc_luton_defconfig                   |   1 +
 drivers/net/Kconfig                            |   7 +
 drivers/net/Makefile                           |   2 +-
 drivers/net/mscc_eswitch/Makefile              |   3 +
 drivers/net/mscc_eswitch/luton_switch.c        | 736 +++++++++++++++++++++++++
 drivers/net/mscc_eswitch/mscc_mac_table.c      |  74 +++
 drivers/net/mscc_eswitch/mscc_mac_table.h      |  19 +
 drivers/net/mscc_eswitch/mscc_miim.c           |  74 +++
 drivers/net/mscc_eswitch/mscc_miim.h           |  12 +
 drivers/net/mscc_eswitch/mscc_xfer.c           | 139 +++++
 drivers/net/mscc_eswitch/mscc_xfer.h           |  20 +
 drivers/net/{ => mscc_eswitch}/ocelot_switch.c | 297 +---------
 16 files changed, 1380 insertions(+), 273 deletions(-)
 create mode 100644 drivers/net/mscc_eswitch/Makefile
 create mode 100644 drivers/net/mscc_eswitch/luton_switch.c
 create mode 100644 drivers/net/mscc_eswitch/mscc_mac_table.c
 create mode 100644 drivers/net/mscc_eswitch/mscc_mac_table.h
 create mode 100644 drivers/net/mscc_eswitch/mscc_miim.c
 create mode 100644 drivers/net/mscc_eswitch/mscc_miim.h
 create mode 100644 drivers/net/mscc_eswitch/mscc_xfer.c
 create mode 100644 drivers/net/mscc_eswitch/mscc_xfer.h
 rename drivers/net/{ => mscc_eswitch}/ocelot_switch.c (62%)

-- 
2.7.4



More information about the U-Boot mailing list