i.MX25 : fix define name for clock frequency
Subsystems (3)
PATCH 1/1 i.MX25 : fix define name for clock frequency
CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ
Signed-off-by Eric Benard <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
Quoted 3 lines · Eric Benard
CONFIG_MX35_HCLK_FREQ->CONFIG_MX25_HCLK_FREQSigned-off-by Eric Benard <[email protected]>
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@@ -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@@ -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@@ -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