summaryrefslogtreecommitdiff
path: root/include/asm-ppc/global_data.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-23 11:31:05 +0200
committerStefan Roese <sr@denx.de>2007-10-31 21:20:51 +0100
commitf10493c6d77a1e07a6c2ff4d772937a5e7359d6a (patch)
tree8fe61beee476893114183f23a17304ef486679c7 /include/asm-ppc/global_data.h
parent353f2688b4e0fc7b969bc70a02be4b40bf0dd124 (diff)
downloadu-boot-imx-f10493c6d77a1e07a6c2ff4d772937a5e7359d6a.zip
u-boot-imx-f10493c6d77a1e07a6c2ff4d772937a5e7359d6a.tar.gz
u-boot-imx-f10493c6d77a1e07a6c2ff4d772937a5e7359d6a.tar.bz2
ppc4xx: Correct UART input clock calculation and passing to fdt
We now use a value in the gd (global data) structure for the UART input frequency, since the PPC4xx_SYS_INFO struct is always rewritten completely in get_sys_info(). Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/asm-ppc/global_data.h')
-rw-r--r--include/asm-ppc/global_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h
index 4676e2c..05aee74 100644
--- a/include/asm-ppc/global_data.h
+++ b/include/asm-ppc/global_data.h
@@ -107,6 +107,9 @@ typedef struct global_data {
unsigned int dp_alloc_base;
unsigned int dp_alloc_top;
#endif
+#if defined(CONFIG_4xx)
+ u32 uart_clk;
+#endif /* CONFIG_4xx */
#if defined(CFG_GT_6426x)
unsigned int mirror_hack[16];
#endif