summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc512x/cpu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:54 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commitfefb098b187caab34edc72df141125925c9bba62 (patch)
treee962092e6cacc356a79b3c20e94b6040c5d9d96b /arch/powerpc/cpu/mpc512x/cpu.c
parentb28774966c933780e891998b472528ba0724b8e0 (diff)
downloadu-boot-imx-fefb098b187caab34edc72df141125925c9bba62.zip
u-boot-imx-fefb098b187caab34edc72df141125925c9bba62.tar.gz
u-boot-imx-fefb098b187caab34edc72df141125925c9bba62.tar.bz2
ppc: Move mpc512x clocks to arch_global_data
Move ips_clk and csb_clk into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc512x/cpu.c')
-rw-r--r--arch/powerpc/cpu/mpc512x/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc512x/cpu.c b/arch/powerpc/cpu/mpc512x/cpu.c
index a1a3bd4..641120f 100644
--- a/arch/powerpc/cpu/mpc512x/cpu.c
+++ b/arch/powerpc/cpu/mpc512x/cpu.c
@@ -68,7 +68,7 @@ int checkcpu (void)
}
printf ("at %s MHz, CSB at %s MHz (RSR=0x%04lx)\n",
strmhz(buf1, clock),
- strmhz(buf2, gd->csb_clk),
+ strmhz(buf2, gd->arch.csb_clk),
gd->reset_status & 0xffff);
return 0;
}