]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 20 Sep 2018 13:14:15 +0000 (15:14 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 30 Sep 2018 17:00:35 +0000 (13:00 -0400)
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@st.com>
drivers/serial/serial_stm32.h

index ccafa31219a1b765b48ba255b9be13cac5996844..5549f8c5368ab2ddbcd7669a4f065d1e8acac5f2 100644 (file)
@@ -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 = {