summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:46 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:42:45 -0500
commit748cd0591a9fe9eb23f20748bcb23035cd5ff517 (patch)
tree17b2050dadcc11761f35f42e789995636abc6d40 /arch/powerpc/include/asm
parent9fb23624a644d9a09f85fc1230b34829005c0021 (diff)
downloadu-boot-imx-748cd0591a9fe9eb23f20748bcb23035cd5ff517.zip
u-boot-imx-748cd0591a9fe9eb23f20748bcb23035cd5ff517.tar.gz
u-boot-imx-748cd0591a9fe9eb23f20748bcb23035cd5ff517.tar.bz2
ppc: Move clock fields to arch_global_data
Move vco_out, cpm_clk, scc_clk, brg_clk into arch_global_data and tidy up. Leave pci_clk on its own since this should really depend only on CONFIG_PCI and not any particular chip type. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h
index 8e3a726..7d0115d 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -33,6 +33,10 @@ struct arch_global_data {
unsigned long brg_clk;
#endif
#if defined(CONFIG_CPM2)
+ /* There are many clocks on the MPC8260 - see page 9-5 */
+ unsigned long vco_out;
+ unsigned long cpm_clk;
+ unsigned long scc_clk;
unsigned long brg_clk;
#endif
#if defined(CONFIG_QE)