summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
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/include
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/include')
-rw-r--r--arch/powerpc/include/asm/global_data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h
index 423e792..fa5c504 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -97,6 +97,10 @@ struct arch_global_data {
#if defined(CONFIG_MPC5xxx)
unsigned long ipb_clk;
#endif
+#if defined(CONFIG_MPC512X)
+ u32 ips_clk;
+ u32 csb_clk;
+#endif /* CONFIG_MPC512X */
};
/*
@@ -119,10 +123,6 @@ typedef struct global_data {
#if defined(CONFIG_FSL_ESDHC)
u32 sdhc_clk;
#endif
-#if defined(CONFIG_MPC512X)
- u32 ips_clk;
- u32 csb_clk;
-#endif /* CONFIG_MPC512X */
#if defined(CONFIG_MPC8220)
unsigned long bExtUart;
unsigned long inp_clk;