summaryrefslogtreecommitdiff
path: root/drivers/qe/uec.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2011-03-22 22:49:13 -0500
committerAndy Fleming <afleming@freescale.com>2011-04-20 13:44:46 -0500
commit09c04c20962afd25ce5797e263906f84de5b1f4c (patch)
treececd7d928b0013c746face5ccad4d787222cb242 /drivers/qe/uec.c
parent907519108cd6f45aa067feea6fedd2743739342b (diff)
downloadu-boot-imx-09c04c20962afd25ce5797e263906f84de5b1f4c.zip
u-boot-imx-09c04c20962afd25ce5797e263906f84de5b1f4c.tar.gz
u-boot-imx-09c04c20962afd25ce5797e263906f84de5b1f4c.tar.bz2
Remove instances of phy_read/write
There were a few files which were already using phy_read and phy_write for their PHY function names. It's only a few places, and the name seems most appropriate for the high-level abstraction, so let's rename the other versions to something more specific. Also, uec_phy.c had a marvell_init function which I renamed to not conflict with the one in marvell.c Lastly, uec_phy.c was putting a space between the phy writing function names, and the open paren, so I fixed that Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'drivers/qe/uec.c')
-rw-r--r--drivers/qe/uec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c
index 811e3fc..cd80f83 100644
--- a/drivers/qe/uec.c
+++ b/drivers/qe/uec.c
@@ -67,9 +67,6 @@ static uec_info_t uec_info[] = {
static struct eth_device *devlist[MAXCONTROLLERS];
-u16 phy_read (struct uec_mii_info *mii_info, u16 regnum);
-void phy_write (struct uec_mii_info *mii_info, u16 regnum, u16 val);
-
static int uec_mac_enable(uec_private_t *uec, comm_dir_e mode)
{
uec_t *uec_regs;