From 5d49e0e152a8b81cc0602271e8fd259371f559b7 Mon Sep 17 00:00:00 2001 From: Grzegorz Bernacki Date: Fri, 11 Jan 2008 12:03:43 +0100 Subject: MPC512X: Cleanup bus clock names. Signed-off-by: Grzegorz Bernacki --- cpu/mpc512x/fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu/mpc512x/fec.c') 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 -- cgit v1.1