Skip to contentSkip to conversation

stm32f4: fix gpio description in comment

PATCH In review Antonio Borneo 2 participants 2 messages Jul 1, 2015 – Jul 10, 2015 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stm32f4: fix gpio description in comment

On STM32F429 gpio PC6/PC7 can be allocated for USART6, as reported in the comment.
But current code in
drivers/serial/serial_stm32.c
uses a different gpio mapping (PG14/PG9) for USART6.

Fix the comment to match current code in the driver.

To: u-boot at lists.denx.de
To: Kamil Lulko <[email protected]>
Cc: Tom Rini <[email protected]>
---

This patch should be applied _after_ the patch
stm32f4: fix minor typo in comment
just sent to the list as:

	http://lists.denx.de/pipermail/u-boot/2015-July/217854.html
 include/configs/stm32f429-discovery.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/stm32f429-discovery.h +1 -1
index ec5302f..de4850c 100644
@@ -55,7 +55,7 @@
  * 1:   TX:PA9  RX:PA10
  * 2:   TX:PD5  RX:PD6
  * 3:   TX:PC10 RX:PC11
- * 6:   TX:PC6  RX:PC7
+ * 6:   TX:PG14 RX:PG9
  */
 #define CONFIG_STM32_USART		1
 
Signature · 1 line
2.4.4
#1 lore raw
Quoted 6 lines · Antonio Borneo

On STM32F429 gpio PC6/PC7 can be allocated for USART6, as reported in the comment.
But current code in
drivers/serial/serial_stm32.c
uses a different gpio mapping (PG14/PG9) for USART6.

Quoted 6 lines

Fix the comment to match current code in the driver.

To: u-boot at lists.denx.de
To: Kamil Lulko <[email protected]>
Cc: Tom Rini <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150710/4d5bd9f7/attachment.sig>