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. Changes in v2: - rename driver name to "sifive-gemgxl-mgmt" - add a comment for getting "tx_clk" via clk_get_by_name() - does not change anything in the default case - check the return value of clk_set_rate() 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 riscv: 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 | 57 +++++++++++++++++++++++++++++++++++++- 5 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/sifive/gemgxl-mgmt.c -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot