diff options
| author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:48 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-02-04 09:04:57 -0500 | 
| commit | 67ac13b1b9b6ca00893714fbc8cbf556bab6fd59 (patch) | |
| tree | 465b1934f005865689bffc75469160894bf1c361 /arch/powerpc/cpu/mpc86xx/speed.c | |
| parent | c6731fe22ab1cc2f5c2b8be9b1db276d777f12c3 (diff) | |
| download | olio-uboot-2014.01-67ac13b1b9b6ca00893714fbc8cbf556bab6fd59.tar.xz olio-uboot-2014.01-67ac13b1b9b6ca00893714fbc8cbf556bab6fd59.zip | |
ppc: Move lbc_clk and cpu to arch_global_data
Move these fields into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Update for bsc9132qds.c, b4860qds.c]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc86xx/speed.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc86xx/speed.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/arch/powerpc/cpu/mpc86xx/speed.c b/arch/powerpc/cpu/mpc86xx/speed.c index a2d0a8ac6..e5798eebe 100644 --- a/arch/powerpc/cpu/mpc86xx/speed.c +++ b/arch/powerpc/cpu/mpc86xx/speed.c @@ -120,7 +120,7 @@ int get_clocks(void)  	get_sys_info(&sys_info);  	gd->cpu_clk = sys_info.freqProcessor;  	gd->bus_clk = sys_info.freqSystemBus; -	gd->lbc_clk = sys_info.freqLocalBus; +	gd->arch.lbc_clk = sys_info.freqLocalBus;  	/*  	 * The base clock for I2C depends on the actual SOC.  Unfortunately, |