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:59 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commit3a1dc8f1251e03c06d45120612a27ae2c448bae7 (patch)
tree14accc745aaac4d6107ad6b048c9f0f959b49be9 /arch/powerpc/include/asm/global_data.h
parent6bb9ba72608e766e9ce859b78f19bb7ea8f63a18 (diff)
downloadblackbird-obmc-uboot-3a1dc8f1251e03c06d45120612a27ae2c448bae7.tar.gz
blackbird-obmc-uboot-3a1dc8f1251e03c06d45120612a27ae2c448bae7.zip
arm: Move uart_clk to arch_global_data
Move this field 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 87f9268f35..2d7be45ab1 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -116,6 +116,9 @@ struct arch_global_data {
unsigned int dp_alloc_base;
unsigned int dp_alloc_top;
#endif
+#if defined(CONFIG_4xx)
+ u32 uart_clk;
+#endif /* CONFIG_4xx */
};
/*
@@ -145,9 +148,6 @@ typedef struct global_data {
#ifdef CONFIG_PRE_CONSOLE_BUFFER
unsigned long precon_buf_idx; /* Pre-Console buffer index */
#endif
-#if defined(CONFIG_4xx)
- u32 uart_clk;
-#endif /* CONFIG_4xx */
#if defined(CONFIG_SYS_GT_6426x)
unsigned int mirror_hack[16];
#endif
OpenPOWER on IntegriCloud