summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:54 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commitfefb098b187caab34edc72df141125925c9bba62 (patch)
treee962092e6cacc356a79b3c20e94b6040c5d9d96b /drivers
parentb28774966c933780e891998b472528ba0724b8e0 (diff)
downloadblackbird-obmc-uboot-fefb098b187caab34edc72df141125925c9bba62.tar.gz
blackbird-obmc-uboot-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')
-rw-r--r--drivers/net/mpc512x_fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mpc512x_fec.c b/drivers/net/mpc512x_fec.c
index ad57d566be..427e0b8b46 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
OpenPOWER on IntegriCloud