summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:49:05 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:44 -0500
commite9adeca3fc4fd9b353f2514daa7d799076ae079c (patch)
treef889e11f70411c773343006862d7e009a79605b9 /arch/powerpc/include
parent225ca83dfea4f9b9a313c5233297132206bff431 (diff)
downloadu-boot-imx-e9adeca3fc4fd9b353f2514daa7d799076ae079c.zip
u-boot-imx-e9adeca3fc4fd9b353f2514daa7d799076ae079c.tar.gz
u-boot-imx-e9adeca3fc4fd9b353f2514daa7d799076ae079c.tar.bz2
ppc: arm: Move sdhc_clk into arch_global_data
This is used by both powerpc and arm, but I think it still qualifies as architecture-specific. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/include')
-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 ea67537..9bf18fb 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -29,6 +29,9 @@
/* Architecture-specific global data */
struct arch_global_data {
+#if defined(CONFIG_FSL_ESDHC)
+ u32 sdhc_clk;
+#endif
#if defined(CONFIG_8xx)
unsigned long brg_clk;
#endif
@@ -150,9 +153,6 @@ typedef struct global_data {
/* We cannot bracket this with CONFIG_PCI due to mpc5xxx */
unsigned long pci_clk;
unsigned long mem_clk;
-#if defined(CONFIG_FSL_ESDHC)
- u32 sdhc_clk;
-#endif
phys_size_t ram_size; /* RAM size */
unsigned long env_addr; /* Address of Environment struct */
unsigned long env_valid; /* Checksum of Environment valid? */