9
0
Fork 0

ARM Chumby: Fix unit of the clocks after the change to Hz

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@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Juergen Beisert 2010-12-20 16:05:02 +01:00 committed by Sascha Hauer
parent beab423f86
commit 75a8a04d37
1 changed files with 2 additions and 2 deletions

View File

@ -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);