summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/fec.c
diff options
context:
space:
mode:
authorGrzegorz Bernacki <gjb@semihalf.com>2008-01-11 12:03:43 +0100
committerWolfgang Denk <wd@denx.de>2008-01-12 15:37:49 +0100
commit5d49e0e152a8b81cc0602271e8fd259371f559b7 (patch)
treebf941fe2a7533b4a3152c4084d9c1be500365e6a /cpu/mpc512x/fec.c
parent66a9455b6bf46d69cec5c88d1a600d1d9a10670d (diff)
downloadu-boot-imx-5d49e0e152a8b81cc0602271e8fd259371f559b7.zip
u-boot-imx-5d49e0e152a8b81cc0602271e8fd259371f559b7.tar.gz
u-boot-imx-5d49e0e152a8b81cc0602271e8fd259371f559b7.tar.bz2
MPC512X: Cleanup bus clock names.
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Diffstat (limited to 'cpu/mpc512x/fec.c')
-rw-r--r--cpu/mpc512x/fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc512x/fec.c b/cpu/mpc512x/fec.c
index 675b7a2..c226a8a 100644
--- a/cpu/mpc512x/fec.c
+++ b/cpu/mpc512x/fec.c
@@ -299,7 +299,7 @@ int mpc512x_fec_init_phy (struct eth_device *dev, bd_t * bis)
* Set MII_SPEED = (1/(mii_speed * 2)) * System Clock
* and do not drop the Preamble.
*/
- fec->eth->mii_speed = (((gd->ipb_clk / 1000000) / 5) + 1) << 1;
+ fec->eth->mii_speed = (((gd->ips_clk / 1000000) / 5) + 1) << 1;
/*
* Reset PHY, then delay 300ns