diff options
author | sascha <sascha@nomad.localdomain> | 2007-10-16 11:32:23 +0200 |
---|---|---|
committer | sascha <sascha@nomad.localdomain> | 2007-10-16 11:32:23 +0200 |
commit | a99e03c847c96f08dcd8da6ccc0e3d3c760d2e1b (patch) | |
tree | 4e84b9358e81846b72b2564ec351d4d0f1f3f03d /include/asm-arm | |
parent | a3408cfe757fe7ec4645d82e441f18a427bc6080 (diff) | |
download | barebox-a99e03c847c96f08dcd8da6ccc0e3d3c760d2e1b.tar.gz barebox-a99e03c847c96f08dcd8da6ccc0e3d3c760d2e1b.tar.xz |
i.MX clock functions: Make them work for i.MX1 again
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-imx/clock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/arch-imx/clock.h b/include/asm-arm/arch-imx/clock.h index a73ea6e1b0..e93dba4843 100644 --- a/include/asm-arm/arch-imx/clock.h +++ b/include/asm-arm/arch-imx/clock.h @@ -3,6 +3,8 @@ #define __ASM_ARCH_CLOCK_H unsigned int imx_decode_pll(unsigned int pll, unsigned int f_ref); +ulong imx_get_mpllclk(void); + #ifdef CONFIG_ARCH_IMX27 ulong imx_get_armclk(void); #endif @@ -12,7 +14,7 @@ static inline ulong imx_get_armclk(void) return imx_get_mpllclk(); } #endif -ulong imx_get_mpllclk(void); + ulong imx_get_spllclk(void); ulong imx_get_fclk(void); ulong imx_get_hclk(void); |