commit | fefb098b187caab34edc72df141125925c9bba62 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Dec 13 20:48:54 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Feb 04 09:05:43 2013 -0500 |
tree | e962092e6cacc356a79b3c20e94b6040c5d9d96b | |
parent | b28774966c933780e891998b472528ba0724b8e0 [diff] [blame] |
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>
diff --git a/arch/powerpc/cpu/mpc512x/i2c.c b/arch/powerpc/cpu/mpc512x/i2c.c index 0ea1280..59040f8 100644 --- a/arch/powerpc/cpu/mpc512x/i2c.c +++ b/arch/powerpc/cpu/mpc512x/i2c.c
@@ -250,7 +250,7 @@ {126, 128} }; - ips = gd->ips_clk; + ips = gd->arch.ips_clk; for (i = 7; i >= 0; i--) { for (j = 7; j >= 0; j--) { scl = 2 * (scltap[j].scl2tap +