[PATCH 03/10] ARM Chumby: Fix unit of the clocks after the change to Hz
Juergen Beisert
jbe at pengutronix.de
Mon Dec 20 10:05:02 EST 2010
With the change to Hz as the main clock unit on the STM architecture the
Chumby must also use this unit.
Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
arch/arm/boards/chumby_falconwing/falconwing.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c b/arch/arm/boards/chumby_falconwing/falconwing.c
index e0706f8..10fbba8 100644
--- a/arch/arm/boards/chumby_falconwing/falconwing.c
+++ b/arch/arm/boards/chumby_falconwing/falconwing.c
@@ -266,9 +266,9 @@ static int falconwing_devices_init(void)
imx_gpio_mode(pad_setup[i]);
register_device(&sdram_dev);
- imx_set_ioclk(480U * 1000U); /* enable IOCLK to run at the PLL frequency */
+ imx_set_ioclk(480000000); /* enable IOCLK to run at the PLL frequency */
/* run the SSP unit clock at 100,000 kHz */
- imx_set_sspclk(0, 100U * 1000U, 1);
+ imx_set_sspclk(0, 100000000, 1);
register_device(&mci_dev);
armlinux_add_dram(&sdram_dev);
--
1.7.2.3
More information about the barebox
mailing list