diff options
| author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:46 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-02-01 15:42:45 -0500 | 
| commit | 748cd0591a9fe9eb23f20748bcb23035cd5ff517 (patch) | |
| tree | 17b2050dadcc11761f35f42e789995636abc6d40 /arch/powerpc/lib | |
| parent | 9fb23624a644d9a09f85fc1230b34829005c0021 (diff) | |
| download | olio-uboot-2014.01-748cd0591a9fe9eb23f20748bcb23035cd5ff517.tar.xz olio-uboot-2014.01-748cd0591a9fe9eb23f20748bcb23035cd5ff517.zip | |
ppc: Move clock fields to arch_global_data
Move vco_out, cpm_clk, scc_clk, brg_clk into arch_global_data and tidy
up. Leave pci_clk on its own since this should really depend only on
CONFIG_PCI and not any particular chip type.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/lib')
| -rw-r--r-- | arch/powerpc/lib/board.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index b1069a6c0..988039f33 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -580,10 +580,10 @@ void board_init_f(ulong bootflag)  	bd->bi_intfreq = gd->cpu_clk;	/* Internal Freq, in Hz */  	bd->bi_busfreq = gd->bus_clk;	/* Bus Freq,      in Hz */  #if defined(CONFIG_CPM2) -	bd->bi_cpmfreq = gd->cpm_clk; +	bd->bi_cpmfreq = gd->arch.cpm_clk;  	bd->bi_brgfreq = gd->arch.brg_clk; -	bd->bi_sccfreq = gd->scc_clk; -	bd->bi_vco = gd->vco_out; +	bd->bi_sccfreq = gd->arch.scc_clk; +	bd->bi_vco = gd->arch.vco_out;  #endif /* CONFIG_CPM2 */  #if defined(CONFIG_MPC512X)  	bd->bi_ipsfreq = gd->ips_clk; |