summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:53 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commitb28774966c933780e891998b472528ba0724b8e0 (patch)
treed76b6cc026872c19add8d85f555e22fa414be2b9 /arch/powerpc/lib
parent7c80c6c51ab39b4509b4ca79035490eabab0af86 (diff)
downloadu-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/lib')
-rw-r--r--arch/powerpc/lib/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
index 22bd713..63118a3 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -589,7 +589,7 @@ void board_init_f(ulong bootflag)
bd->bi_ipsfreq = gd->ips_clk;
#endif /* CONFIG_MPC512X */
#if defined(CONFIG_MPC5xxx)
- bd->bi_ipbfreq = gd->ipb_clk;
+ bd->bi_ipbfreq = gd->arch.ipb_clk;
bd->bi_pcifreq = gd->pci_clk;
#endif /* CONFIG_MPC5xxx */
bd->bi_baudrate = gd->baudrate; /* Console Baudrate */