summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorsascha <sascha@nomad.localdomain>2007-10-16 14:46:29 +0200
committersascha <sascha@nomad.localdomain>2007-10-16 14:46:29 +0200
commitd46cc46f98b284608b410ca845224f4467e2bf76 (patch)
tree3a2393e827931bf8b3e128fc2e4af25cf3f19512 /arch/arm
parent52fb34f5adf5d1095c0b4c9462dd078d9382fa7a (diff)
downloadbarebox-d46cc46f98b284608b410ca845224f4467e2bf76.tar.gz
barebox-d46cc46f98b284608b410ca845224f4467e2bf76.tar.xz
fix sys clk in i.MX1 speed.c
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/speed-imx1.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-imx/speed-imx1.c b/arch/arm/mach-imx/speed-imx1.c
index 72afcf1e22..de593a9e3b 100644
--- a/arch/arm/mach-imx/speed-imx1.c
+++ b/arch/arm/mach-imx/speed-imx1.c
@@ -28,16 +28,6 @@
#include <init.h>
#include <driver.h>
-/* ------------------------------------------------------------------------- */
-/* NOTE: This describes the proper use of this file.
- *
- * CONFIG_SYS_CLK_FREQ should be defined as the input frequency of the PLL.
- * SH FIXME: 16780000 in our case
- * get_FCLK(), get_HCLK(), get_PCLK() and get_UCLK() return the clock of
- * the specified bus in HZ.
- */
-/* ------------------------------------------------------------------------- */
-
ulong imx_get_spllclk(void)
{
return imx_decode_pll(SPCTL0, CONFIG_SYSPLL_CLK_FREQ);
@@ -45,7 +35,7 @@ ulong imx_get_spllclk(void)
ulong imx_get_mpllclk(void)
{
- return imx_decode_pll(MPCTL0, CONFIG_SYS_CLK_FREQ);
+ return imx_decode_pll(MPCTL0, CONFIG_SYSPLL_CLK_FREQ);
}
ulong imx_get_fclk(void)