diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:54 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:43 -0500 |
commit | fefb098b187caab34edc72df141125925c9bba62 (patch) | |
tree | e962092e6cacc356a79b3c20e94b6040c5d9d96b /arch/powerpc/cpu/mpc512x/ide.c | |
parent | b28774966c933780e891998b472528ba0724b8e0 (diff) | |
download | u-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/ide.c')
-rw-r--r-- | arch/powerpc/cpu/mpc512x/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc512x/ide.c b/arch/powerpc/cpu/mpc512x/ide.c index dd6b2f4..7a49673 100644 --- a/arch/powerpc/cpu/mpc512x/ide.c +++ b/arch/powerpc/cpu/mpc512x/ide.c @@ -100,7 +100,7 @@ int ide_preinit (void) ide_set_reset(0); /* Init timings : we use PIO mode 0 timings */ - t = 1000000000 / gd->ips_clk; /* period in ns */ + t = 1000000000 / gd->arch.ips_clk; /* period in ns */ cfg.bytes.field1 = 3; cfg.bytes.field2 = 3; cfg.bytes.field3 = (pio_specs.t1 + t) / t; |