diff options
author | Tom Rini <trini@konsulko.com> | 2022-01-17 08:35:11 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-17 08:35:11 -0500 |
commit | d928b365cc73426b0de883249700b3057b738cf3 (patch) | |
tree | 576648536fb0b380fd23a39301fb6510cfff856d /drivers/net/fm/memac_phy.c | |
parent | d71dbe657c3c22f50ecb3df133e5cdd884daae7d (diff) | |
parent | 046bf8d4c512ad6501fe9e77508bbe1292a29fef (diff) |
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-net
- PXE label override support
- Fastboot UDP configurable port
- new phy driver: TI DP83869HM
- and few minor fixes to dsa.
Diffstat (limited to 'drivers/net/fm/memac_phy.c')
-rw-r--r-- | drivers/net/fm/memac_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fm/memac_phy.c b/drivers/net/fm/memac_phy.c index 72b500a6d1..3ddae97e09 100644 --- a/drivers/net/fm/memac_phy.c +++ b/drivers/net/fm/memac_phy.c @@ -64,7 +64,7 @@ static int memac_wait_until_done(struct memac_mdio_controller *regs) { unsigned int timeout = MAX_NUM_RETRIES; - while ((memac_in_32(®s->mdio_data) & MDIO_DATA_BSY) && timeout--) + while ((memac_in_32(®s->mdio_stat) & MDIO_STAT_BSY) && timeout--) ; if (!timeout) { |