[U-Boot] [PATCH 0/4] riscv: sifive: fu540: Make GEM 10/100 Mbps work

Bin Meng bmeng.cn at gmail.com
Thu May 16 09:12:02 UTC 2019


At present the GEM ethernet on SiFive Unleashed board can only work
in 1000 Mbps mode. With a 10/100 Mbps connection it just fails to do
any network communication.

This adds a new GEMGXL clock driver to adjust the clock settings per
the connection speed so that 10/100 Mbps works.


Bin Meng (4):
  clk: sifive: Add clock driver for GEMGXL MGMT
  dm: net: macb: Update macb_linkspd_cb() signature
  dm: net: macb: Implement link speed change callback
  sifive: fu540: Enable GEMGXL MGMT driver

 board/sifive/fu540/Kconfig       |  1 +
 drivers/clk/sifive/Kconfig       |  7 +++++
 drivers/clk/sifive/Makefile      |  2 ++
 drivers/clk/sifive/gemgxl-mgmt.c | 60 ++++++++++++++++++++++++++++++++++++++++
 drivers/net/macb.c               | 48 +++++++++++++++++++++++++++++++-
 5 files changed, 117 insertions(+), 1 deletion(-)
 create mode 100644 drivers/clk/sifive/gemgxl-mgmt.c

-- 
2.7.4



More information about the U-Boot mailing list