diff options
| author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:54 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:43 -0500 | 
| commit | fefb098b187caab34edc72df141125925c9bba62 (patch) | |
| tree | e962092e6cacc356a79b3c20e94b6040c5d9d96b /drivers/net/mpc512x_fec.c | |
| parent | b28774966c933780e891998b472528ba0724b8e0 (diff) | |
| download | olio-uboot-2014.01-fefb098b187caab34edc72df141125925c9bba62.tar.xz olio-uboot-2014.01-fefb098b187caab34edc72df141125925c9bba62.zip | |
ppc: Move mpc512x clocks to arch_global_data
Move ips_clk and csb_clk into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/net/mpc512x_fec.c')
| -rw-r--r-- | drivers/net/mpc512x_fec.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/net/mpc512x_fec.c b/drivers/net/mpc512x_fec.c index ad57d566b..427e0b8b4 100644 --- a/drivers/net/mpc512x_fec.c +++ b/drivers/net/mpc512x_fec.c @@ -304,7 +304,7 @@ int mpc512x_fec_init_phy (struct eth_device *dev, bd_t * bis)  		 * and do not drop the Preamble.  		 */  		out_be32(&fec->eth->mii_speed, -			 (((gd->ips_clk / 1000000) / 5) + 1) << 1); +			 (((gd->arch.ips_clk / 1000000) / 5) + 1) << 1);  		/*  		 * Reset PHY, then delay 300ns |