Skip to contentSkip to conversation

MX28: mx28evk: Follow m28evk change in SSP clock

PATCH New Otavio Salvador 2 participants 3 messages Aug 27, 2012 – Aug 28, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MX28: mx28evk: Follow m28evk change in SSP clock

This changes the board config to follow m28evk board configuration.

---
 board/freescale/mx28evk/mx28evk.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/freescale/mx28evk/mx28evk.c +2 -2
index 867d3c8..d782aea 100644
@@ -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);
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 MX28: mx28evk: Follow m28evk change in SSP clock

Dear Otavio Salvador,

Quoted 12 lines

This changes the board config to follow m28evk board configuration.

---
 board/freescale/mx28evk/mx28evk.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/board/freescale/mx28evk/mx28evk.c index 867d3c8..d782aea 100644

board/freescale/mx28evk/mx28evk.c int board_early_init_f(void) · line 53

Quoted 7 lines
board/freescale/mx28evk/mx28evk.c +2 -2
@@ -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

board/freescale/mx28evk/mx28evk.c int board_early_init_f(void) · line 56

Quoted 2 lines
board/freescale/mx28evk/mx28evk.c +0 -0
 #ifdef	CONFIG_CMD_USB
 	mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT);

Best regards,
Marek Vasut

#2 lore raw

PATCH 1/1 MX28: mx28evk: Follow m28evk change in SSP clock

Quoted 5 lines · Marek Vasut

Dear Otavio Salvador,

Quoted 3 lines

This changes the board config to follow m28evk board configuration.

...

Quoted 7 lines

board/freescale/mx28evk/mx28evk.c int board_early_init_f(void) · line 53

Quoted 4 lines
board/freescale/mx28evk/mx28evk.c +2 -2
-     /* 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