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/fsl_ls_mdio.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/fsl_ls_mdio.c')
-rw-r--r-- | drivers/net/fsl_ls_mdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fsl_ls_mdio.c b/drivers/net/fsl_ls_mdio.c index 6d4e682fdf..f213e0dd85 100644 --- a/drivers/net/fsl_ls_mdio.c +++ b/drivers/net/fsl_ls_mdio.c @@ -84,7 +84,7 @@ static int dm_fsl_ls_mdio_read(struct udevice *dev, int addr, memac_out_32(®s->mdio_ctl, mdio_ctl); /* Wait till the MDIO write is complete */ - while ((memac_in_32(®s->mdio_data)) & MDIO_DATA_BSY) + while ((memac_in_32(®s->mdio_stat)) & MDIO_STAT_BSY) ; /* Return all Fs if nothing was there */ @@ -107,7 +107,7 @@ static int dm_fsl_ls_mdio_write(struct udevice *dev, int addr, int devad, memac_out_32(®s->mdio_data, MDIO_DATA(val)); /* Wait till the MDIO write is complete */ - while ((memac_in_32(®s->mdio_data)) & MDIO_DATA_BSY) + while ((memac_in_32(®s->mdio_stat)) & MDIO_STAT_BSY) ; return 0; |