[U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock

This changes the board config to follow m28evk board configuration.
Signed-off-by: Otavio Salvador otavio@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);
#ifdef CONFIG_CMD_USB mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT);

Dear Otavio Salvador,
This changes the board config to follow m28evk board configuration.
Signed-off-by: Otavio Salvador otavio@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

On Mon, Aug 27, 2012 at 8:28 PM, Marek Vasut marek.vasut@gmail.com wrote:
Dear Otavio Salvador,
This changes the board config to follow m28evk board configuration.
Signed-off-by: Otavio Salvador otavio@ossystems.com.br
...
/* 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
From what I see in the changes the sleep change is not board dependant
and has been already done by you. I did send a v2 which enables DMA for SPI and rewords the commit log for the same used by you in m28evk change. This way we are clear about the change.
participants (2)
-
Marek Vasut
-
Otavio Salvador