]> git.sur5r.net Git - u-boot/commitdiff
MX28: mx28evk: Align SSP clock speed
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 27 Aug 2012 23:56:40 +0000 (23:56 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Sep 2012 09:57:56 +0000 (11:57 +0200)
Align the SSP clock speed with oscilator to achieve higher transfer
stability.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Marek Vasut <marex@denx.de>
board/freescale/mx28evk/mx28evk.c

index 867d3c8518fb1dbf3c7a9f07595c33ff92df457c..d782aea61b85537c83673b8b88d2937a5a4b5811 100644 (file)
@@ -49,8 +49,8 @@ int board_early_init_f(void)
 
        /* SSP0 clock at 96MHz */
        mx28_set_sspclk(MXC_SSPCLK0, 96000, 0);
-       /* SSP2 clock at 96MHz */
-       mx28_set_sspclk(MXC_SSPCLK2, 96000, 0);
+       /* SSP2 clock at 160MHz */
+       mx28_set_sspclk(MXC_SSPCLK2, 160000, 0);
 
 #ifdef CONFIG_CMD_USB
        mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT);