summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc83xx/cpu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:47 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:42:45 -0500
commitc6731fe22ab1cc2f5c2b8be9b1db276d777f12c3 (patch)
tree00ac46c4d272af113b8abac3813f89ab985a57da /arch/powerpc/cpu/mpc83xx/cpu.c
parent748cd0591a9fe9eb23f20748bcb23035cd5ff517 (diff)
downloadu-boot-imx-c6731fe22ab1cc2f5c2b8be9b1db276d777f12c3.zip
u-boot-imx-c6731fe22ab1cc2f5c2b8be9b1db276d777f12c3.tar.gz
u-boot-imx-c6731fe22ab1cc2f5c2b8be9b1db276d777f12c3.tar.bz2
ppc: Move mpc83xx clock fields to arch_global_data
Move al mpc83xx fields into arch_global_data and tidy up. Also indent the nested #ifdef for clarity. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx/cpu.c')
-rw-r--r--arch/powerpc/cpu/mpc83xx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c
index e64b0c3..cc20234 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu.c
@@ -122,7 +122,7 @@ int checkcpu(void)
printf(" at %s MHz, ", strmhz(buf, clock));
- printf("CSB: %s MHz\n", strmhz(buf, gd->csb_clk));
+ printf("CSB: %s MHz\n", strmhz(buf, gd->arch.csb_clk));
return 0;
}