[U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock
Marek Vasut
marek.vasut at gmail.com
Tue Aug 28 01:28:12 CEST 2012
Dear Otavio Salvador,
> This changes the board config to follow m28evk board configuration.
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> board/freescale/mx28evk/mx28evk.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/board/freescale/mx28evk/mx28evk.c
> b/board/freescale/mx28evk/mx28evk.c index 867d3c8..d782aea 100644
> --- a/board/freescale/mx28evk/mx28evk.c
> +++ b/board/freescale/mx28evk/mx28evk.c
> @@ -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);
You _MUST_ also adjust the default SPI flash sleep, otherwise this is flat
pointless change
> #ifdef CONFIG_CMD_USB
> mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT);
Best regards,
Marek Vasut
More information about the U-Boot
mailing list