All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs
@ 2018-09-20 13:14 Patrice Chotard
  2018-09-30 19:25 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Patrice Chotard @ 2018-09-20 13:14 UTC (permalink / raw
  To: u-boot

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 | 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs
  2018-09-20 13:14 [U-Boot] [PATCH] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs Patrice Chotard
@ 2018-09-30 19:25 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-09-30 19:25 UTC (permalink / raw
  To: u-boot

On Thu, Sep 20, 2018 at 03:14:15PM +0200, Patrice Chotard wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180930/fc6d3554/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-30 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-20 13:14 [U-Boot] [PATCH] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs Patrice Chotard
2018-09-30 19:25 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.