summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:44 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:42:45 -0500
commit1206c18403ff25814673a4dbfa071ae06bbefaef (patch)
treea4a38c741e9b7a2cb98566785093c3984ec15454 /arch/powerpc/lib
parent6cb49c13f687fb8c1e2936466edf154f4132abb1 (diff)
downloadu-boot-imx-1206c18403ff25814673a4dbfa071ae06bbefaef.zip
u-boot-imx-1206c18403ff25814673a4dbfa071ae06bbefaef.tar.gz
u-boot-imx-1206c18403ff25814673a4dbfa071ae06bbefaef.tar.bz2
ppc: Move brg_clk to arch_global_data
Move this field 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 6a7bf4b..b1069a6 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -581,7 +581,7 @@ void board_init_f(ulong bootflag)
bd->bi_busfreq = gd->bus_clk; /* Bus Freq, in Hz */
#if defined(CONFIG_CPM2)
bd->bi_cpmfreq = gd->cpm_clk;
- bd->bi_brgfreq = gd->brg_clk;
+ bd->bi_brgfreq = gd->arch.brg_clk;
bd->bi_sccfreq = gd->scc_clk;
bd->bi_vco = gd->vco_out;
#endif /* CONFIG_CPM2 */