Skip to contentSkip to conversation

i.MX25 : fix define name for clock frequency

PATCH Applied Eric Benard 2 participants 2 messages Mar 19, 2010 – Mar 22, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i.MX25 : fix define name for clock frequency

CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ

---
 arch/arm/mach-imx/speed-imx25.c       |    4 ++--
 board/eukrea_cpuimx25/config.h        |    2 ++
 board/freescale-mx25-3-stack/config.h |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
arch/arm/mach-imx/speed-imx25.c +2 -2
index beb7efe..a615017 100644
@@ -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)
board/eukrea_cpuimx25/config.h +2 -0
index 460239d..982c406 100644
@@ -20,6 +20,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_MX25_HCLK_FREQ	24000000
+
 #endif
 
 /* nothing to do here yet */
board/freescale-mx25-3-stack/config.h +1 -1
index 0e3b175..f35e8a0 100644
@@ -24,7 +24,7 @@
  * Definitions related to passing arguments to kernel.
  */
 
-#define CONFIG_MX35_HCLK_FREQ	24000000
+#define CONFIG_MX25_HCLK_FREQ	24000000
 
 #endif
 
Signature · 7 lines
1.6.3.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer Applied
#1 lore raw
Quoted 3 lines · Eric Benard

CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ

Applied to -master modulo the changes in the not yet existing board/eukrea_cpuimx25/config.h file.

Sascha

Quoted 61 lines
---
 arch/arm/mach-imx/speed-imx25.c       |    4 ++--
 board/eukrea_cpuimx25/config.h        |    2 ++
 board/freescale-mx25-3-stack/config.h |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
arch/arm/mach-imx/speed-imx25.c +2 -2
index beb7efe..a615017 100644
@@ -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)
board/eukrea_cpuimx25/config.h +2 -0
index 460239d..982c406 100644
@@ -20,6 +20,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_MX25_HCLK_FREQ	24000000
+
 #endif
 
 /* nothing to do here yet */
board/freescale-mx25-3-stack/config.h +1 -1
index 0e3b175..f35e8a0 100644
@@ -24,7 +24,7 @@
  * Definitions related to passing arguments to kernel.
  */
 
-#define CONFIG_MX35_HCLK_FREQ	24000000
+#define CONFIG_MX25_HCLK_FREQ	24000000
 
 #endif
 
Signature · 7 lines
1.6.3.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox