From 95a077217b06cd8e4ad8cacb526bf430185dc0a3 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Thu, 20 Sep 2018 15:14:15 +0200 Subject: [PATCH] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs 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 --- 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 ccafa31..5549f8c 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 = { -- 2.7.4