diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:53 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:43 -0500 |
commit | b28774966c933780e891998b472528ba0724b8e0 (patch) | |
tree | d76b6cc026872c19add8d85f555e22fa414be2b9 /arch/powerpc/cpu/mpc8220 | |
parent | 7c80c6c51ab39b4509b4ca79035490eabab0af86 (diff) | |
download | u-boot-imx-b28774966c933780e891998b472528ba0724b8e0.zip u-boot-imx-b28774966c933780e891998b472528ba0724b8e0.tar.gz u-boot-imx-b28774966c933780e891998b472528ba0724b8e0.tar.bz2 |
ppc: Move mpc5xxx clocks to arch_global_data
Move ipb_clk and pci_clk into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc8220')
-rw-r--r-- | arch/powerpc/cpu/mpc8220/fec.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc8220/fec.c b/arch/powerpc/cpu/mpc8220/fec.c index aaf9be1..43fa802 100644 --- a/arch/powerpc/cpu/mpc8220/fec.c +++ b/arch/powerpc/cpu/mpc8220/fec.c @@ -288,9 +288,11 @@ static int mpc8220_fec_init (struct eth_device *dev, bd_t * bis) * Set MII_SPEED = (1/(mii_speed * 2)) * System Clock * and do not drop the Preamble. */ - /* tbd - rtm */ - /*fec->eth->mii_speed = (((gd->ipb_clk >> 20) / 5) << 1); */ - /* No MII for 7-wire mode */ + /* + * tbd - rtm + * fec->eth->mii_speed = (((gd->arch.ipb_clk >> 20) / 5) << 1); + * No MII for 7-wire mode + */ fec->eth->mii_speed = 0x00000030; } |