mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 05:01:30 +00:00
Revert "net: macb: Fixed reading MII_LPA register"
This reverts commit1b0c9914cc
. Commit1b0c9914cc
("net: macb: Fixed reading MII_LPA register") causes 100Mbps does not work any more with SiFive FU540 GEM on the HiFive Unleashed board. Revert it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
2e0f324178
commit
19f3b78dfb
1 changed files with 1 additions and 1 deletions
|
@ -643,7 +643,7 @@ static int macb_phy_init(struct macb_device *macb, const char *name)
|
|||
|
||||
/* First check for GMAC and that it is GiB capable */
|
||||
if (gem_is_gigabit_capable(macb)) {
|
||||
lpa = macb_mdio_read(macb, MII_LPA);
|
||||
lpa = macb_mdio_read(macb, MII_STAT1000);
|
||||
|
||||
if (lpa & (LPA_1000FULL | LPA_1000HALF | LPA_1000XFULL |
|
||||
LPA_1000XHALF)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue