summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Benard <eric@eukrea.com>2010-03-19 15:45:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-03-22 09:20:07 +0100
commitce2411432e23b5cc313c92278b2320bf1547c002 (patch)
tree00cdd2673b026ca50f49ffebeaef5e73c269a8fb
parent78127b0a97c2370914ca4e7ff918fffefdbaafc2 (diff)
downloadbarebox-ce2411432e23b5cc313c92278b2320bf1547c002.tar.gz
barebox-ce2411432e23b5cc313c92278b2320bf1547c002.tar.xz
i.MX25 : fix define name for clock frequency
CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/speed-imx25.c4
-rw-r--r--board/freescale-mx25-3-stack/config.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/speed-imx25.c b/arch/arm/mach-imx/speed-imx25.c
index be20880b..b33674f6 100644
--- a/arch/arm/mach-imx/speed-imx25.c
+++ b/arch/arm/mach-imx/speed-imx25.c
@@ -7,13 +7,13 @@
unsigned long imx_get_mpllclk(void)
{
ulong mpctl = readl(IMX_CCM_BASE + CCM_MPCTL);
- return imx_decode_pll(mpctl, CONFIG_MX35_HCLK_FREQ);
+ return imx_decode_pll(mpctl, CONFIG_MX25_HCLK_FREQ);
}
unsigned long imx_get_upllclk(void)
{
ulong ppctl = readl(IMX_CCM_BASE + CCM_UPCTL);
- return imx_decode_pll(ppctl, CONFIG_MX35_HCLK_FREQ);
+ return imx_decode_pll(ppctl, CONFIG_MX25_HCLK_FREQ);
}
unsigned long imx_get_armclk(void)
diff --git a/board/freescale-mx25-3-stack/config.h b/board/freescale-mx25-3-stack/config.h
index 0e3b175a..f35e8a05 100644
--- a/board/freescale-mx25-3-stack/config.h
+++ b/board/freescale-mx25-3-stack/config.h
@@ -24,7 +24,7 @@
* Definitions related to passing arguments to kernel.
*/
-#define CONFIG_MX35_HCLK_FREQ 24000000
+#define CONFIG_MX25_HCLK_FREQ 24000000
#endif