summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:55 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commit1c356135fa1fd2c2f6d775ba1b2f86e4823d8338 (patch)
tree1db304e06ecf9703b4cd3a94237a296f22a45c19 /arch/powerpc/include
parentfefb098b187caab34edc72df141125925c9bba62 (diff)
downloadu-boot-imx-1c356135fa1fd2c2f6d775ba1b2f86e4823d8338.zip
u-boot-imx-1c356135fa1fd2c2f6d775ba1b2f86e4823d8338.tar.gz
u-boot-imx-1c356135fa1fd2c2f6d775ba1b2f86e4823d8338.tar.bz2
ppc: Move mpc8220 clocks to arch_global_data
Move these fields into arch_global_data and tidy up. The bExtUart field does not appear to be used, so punt it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/global_data.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h
index fa5c504..656117b 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -101,6 +101,12 @@ struct arch_global_data {
u32 ips_clk;
u32 csb_clk;
#endif /* CONFIG_MPC512X */
+#if defined(CONFIG_MPC8220)
+ unsigned long inp_clk;
+ unsigned long vco_clk;
+ unsigned long pev_clk;
+ unsigned long flb_clk;
+#endif
};
/*
@@ -123,13 +129,6 @@ typedef struct global_data {
#if defined(CONFIG_FSL_ESDHC)
u32 sdhc_clk;
#endif
-#if defined(CONFIG_MPC8220)
- unsigned long bExtUart;
- unsigned long inp_clk;
- unsigned long vco_clk;
- unsigned long pev_clk;
- unsigned long flb_clk;
-#endif
phys_size_t ram_size; /* RAM size */
unsigned long reset_status; /* reset status register at boot */
#if defined(CONFIG_MPC83xx)