summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/global_data.h
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/asm/global_data.h
parentfefb098b187caab34edc72df141125925c9bba62 (diff)
downloadblackbird-obmc-uboot-1c356135fa1fd2c2f6d775ba1b2f86e4823d8338.tar.gz
blackbird-obmc-uboot-1c356135fa1fd2c2f6d775ba1b2f86e4823d8338.zip
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/asm/global_data.h')
-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 fa5c504653..656117b0d4 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)
OpenPOWER on IntegriCloud