summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorkunhuahuang <huangkunhua@gmail.com>2015-04-27 19:01:19 (GMT)
committerTom Rini <trini@konsulko.com>2015-05-10 11:29:38 (GMT)
commit60570df19c7e7bc9f1f10d228bfe1ac2bea52d9b (patch)
treeab5ff6c81127b3c4090755734d780b834c862b43 /include/configs
parent85e5f5b7a7f8d889271f94791606cde62d81d53f (diff)
downloadu-boot-fsl-qoriq-60570df19c7e7bc9f1f10d228bfe1ac2bea52d9b.tar.xz
stm32f4: add serial print port
Add the stm32F4 board's serial ports support. User can use it easily. The user only need to edit the number of the usart. The patch also fix the serial print out. Last, this version of patch fix the first patch checkpatch.pl error. Thanks to Kamil Lulko. Signed-off-by: kunhuahuang <huangkunhua@gmail.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/stm32f429-discovery.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
index 7f569fd..84cc19d 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -50,8 +50,14 @@
#define CONFIG_STM32_GPIO
#define CONFIG_STM32_SERIAL
-
-#define CONFIG_STM32_USART1
+/*
+ * Configuration of the USART
+ * 1: TX:PA9 PX:PA10
+ * 2: TX:PD5 RX:PD6
+ * 3: TX:PC10 RX:PC11
+ * 6: TX:PC6 RX:PC7
+ */
+#define CONFIG_STM32_USART 1
#define CONFIG_STM32_HSE_HZ 8000000