* [U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock
@ 2012-08-27 23:22 Otavio Salvador
2012-08-27 23:28 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2012-08-27 23:22 UTC (permalink / raw)
To: u-boot
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);
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock
2012-08-27 23:22 [U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock Otavio Salvador
@ 2012-08-27 23:28 ` Marek Vasut
2012-08-28 9:56 ` Otavio Salvador
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2012-08-27 23:28 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock
2012-08-27 23:28 ` Marek Vasut
@ 2012-08-28 9:56 ` Otavio Salvador
0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2012-08-28 9:56 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-28 9:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 23:22 [U-Boot] [PATCH] MX28: mx28evk: Follow m28evk change in SSP clock Otavio Salvador
2012-08-27 23:28 ` Marek Vasut
2012-08-28 9:56 ` Otavio Salvador
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox