]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: macb: Extend MACB driver for SiFive Unleashed board
authorAnup Patel <Anup.Patel@wdc.com>
Wed, 24 Jul 2019 04:09:32 +0000 (04:09 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 25 Jul 2019 18:13:31 +0000 (13:13 -0500)
commitd0a04db6af7607c99f28973a79be2d31caaf5670
treeb171c0dd5859712ee9d7f6229833b2abd4eb6c08
parent8782122052481f60638c2191a5512a644bb57abb
net: macb: Extend MACB driver for SiFive Unleashed board

The SiFive MACB ethernet has a custom TX_CLK_SEL register to select
different TX clock for 1000mbps vs 10/100mbps.

This patch adds SiFive MACB compatible string and extends the MACB
ethernet driver to change TX clock using TX_CLK_SEL register for
SiFive MACB.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c