[U-Boot] [PATCH] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs

Patrice Chotard patrice.chotard at st.com
Thu Sep 20 13:14:15 UTC 2018


Since commit 7b3b74d32127 ("serial: serial_stm32: Enable overrun")
on STM32F7xx based boards, the first lines of serial output are
missing during boot (we no more see the U-Boot release version,
board model and DRAM size).

By enabling the uart FIFO on STM32F7, the complete U-boot log
can be sent correctly.

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---

 drivers/serial/serial_stm32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/serial_stm32.h b/drivers/serial/serial_stm32.h
index ccafa31219a1..5549f8c5368a 100644
--- a/drivers/serial/serial_stm32.h
+++ b/drivers/serial/serial_stm32.h
@@ -37,7 +37,7 @@ struct stm32_uart_info stm32f4_info = {
 struct stm32_uart_info stm32f7_info = {
 	.uart_enable_bit = 0,
 	.stm32f4 = false,
-	.has_fifo = false,
+	.has_fifo = true,
 };
 
 struct stm32_uart_info stm32h7_info = {
-- 
1.9.1



More information about the U-Boot mailing list