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:53 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commitb28774966c933780e891998b472528ba0724b8e0 (patch)
treed76b6cc026872c19add8d85f555e22fa414be2b9 /arch/powerpc/include/asm/global_data.h
parent7c80c6c51ab39b4509b4ca79035490eabab0af86 (diff)
downloadblackbird-obmc-uboot-b28774966c933780e891998b472528ba0724b8e0.tar.gz
blackbird-obmc-uboot-b28774966c933780e891998b472528ba0724b8e0.zip
ppc: Move mpc5xxx clocks to arch_global_data
Move ipb_clk and pci_clk into arch_global_data and tidy up. 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h
index ca36ca3332..423e792ec0 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -94,6 +94,9 @@ struct arch_global_data {
#if defined(CONFIG_E500)
u32 used_tlb_cams[(CONFIG_SYS_NUM_TLBCAMS+31)/32];
#endif
+#if defined(CONFIG_MPC5xxx)
+ unsigned long ipb_clk;
+#endif
};
/*
@@ -116,9 +119,6 @@ typedef struct global_data {
#if defined(CONFIG_FSL_ESDHC)
u32 sdhc_clk;
#endif
-#if defined(CONFIG_MPC5xxx)
- unsigned long ipb_clk;
-#endif
#if defined(CONFIG_MPC512X)
u32 ips_clk;
u32 csb_clk;
OpenPOWER on IntegriCloud