diff options
author | Tom Rini <trini@konsulko.com> | 2016-01-28 18:42:10 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-28 18:42:10 -0500 |
commit | 82d72a1b9967cff4908f22c57536c3660f794401 (patch) | |
tree | ed7f02df10ffa0f7c4ef87298c1c5e5f4be5dd45 /drivers/net/fsl_mdio.c | |
parent | 3faf2216d9649e2a22e6728194e9797cb46db933 (diff) | |
parent | b2b7fbc33ff1b990804e481153dd45de579cff75 (diff) | |
download | u-boot-82d72a1b9967cff4908f22c57536c3660f794401.tar.gz |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/fsl_mdio.c')
-rw-r--r-- | drivers/net/fsl_mdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fsl_mdio.c b/drivers/net/fsl_mdio.c index f48bbc3123..77b9739a24 100644 --- a/drivers/net/fsl_mdio.c +++ b/drivers/net/fsl_mdio.c @@ -5,6 +5,7 @@ * * SPDX-License-Identifier: GPL-2.0+ */ + #include <common.h> #include <miiphy.h> #include <phy.h> @@ -32,8 +33,7 @@ int tsec_local_mdio_read(struct tsec_mii_mng __iomem *phyregs, int port_addr, int value; int timeout = 1000000; - /* Put the address of the phy, and the register - * number into MIIMADD */ + /* Put the address of the phy, and the register number into MIIMADD */ out_be32(&phyregs->miimadd, (port_addr << 8) | (regnum & 0x1f)); /* Clear the command register, and wait */ |