1
0
Fork 0

RISC-V: Networking fix Hack

It looks like that kernel driver now supports reseting the
signal one additional time. As it had been  already reset
twice in FSBL, PHY gets into incorrect state causing below error.

----------------------------------------------------------------------
macb 10090000.ethernet (unnamed net_device) (uninitialized): Could not attach to PHY
macb: probe of 10090000.ethernet failed with error -110
----------------------------------------------------------------------

This patch is just a temporary fix until we have a fix a FSBL.
It is just a **HACK** and **NOT TO BE MERGED** into mainline.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
hifive-unleashed-5.1
Atish Patra 2018-09-07 10:22:27 -07:00 committed by Alistair Francis
parent 376999e330
commit 0d0ac1e118
1 changed files with 0 additions and 3 deletions

View File

@ -57,9 +57,6 @@ static int mdiobus_register_gpiod(struct mdio_device *mdiodev)
mdiodev->reset = gpiod;
/* Assert the reset signal again */
mdio_device_reset(mdiodev, 1);
return 0;
}