summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-12-07 04:59:26 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-12-11 22:34:20 -0600
commitd435793229ce29a42797c1edc39f5b34f987f91a (patch)
treebe66e43419c21c827922d620431716444e6e50e0 /include/common.h
parent22abb2d2eaf7b795a6923c6273ec9cb53fda9a10 (diff)
downloadu-boot-imx-d435793229ce29a42797c1edc39f5b34f987f91a.zip
u-boot-imx-d435793229ce29a42797c1edc39f5b34f987f91a.tar.gz
u-boot-imx-d435793229ce29a42797c1edc39f5b34f987f91a.tar.bz2
Handle Asynchronous DDR clock on 85xx
The MPC8572 introduces the concept of an asynchronous DDR clock with regards to the platform clock. Introduce get_ddr_freq() to report the DDR freq regardless of sync/async mode. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 63ac8b0..01957e3 100644
--- a/include/common.h
+++ b/include/common.h
@@ -497,6 +497,7 @@ ulong get_bus_freq (ulong);
#if defined(CONFIG_MPC85xx)
typedef MPC85xx_SYS_INFO sys_info_t;
void get_sys_info ( sys_info_t * );
+ulong get_ddr_freq (ulong);
#endif
#if defined(CONFIG_MPC86xx)
typedef MPC86xx_SYS_INFO sys_info_t;