ARM: renesas: Enable serial RX buffer on Renesas R-Car
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 13 Apr 2025 13:10:45 +0000 (15:10 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 28 May 2025 22:53:43 +0000 (00:53 +0200)
Enable CONFIG_SERIAL_RX_BUFFER on all Renesas R-Car devices which
use the SCIF serial port. This allows receiving large strings at
bulk even if the RX FIFO is small and would otherwise overflow.

The usual trigger for the problem addressed here is a paste of a
very long command into U-Boot command line, somewhere between 400
and 500 characters long. The trailing end of the string is usually
not received and the command line input stops responding due to RX
overflow errors. The CONFIG_SERIAL_RX_BUFFER allows efficient read
of data from the RX FIFO, which prevents the overflow, and allows
safe reception of long pasted strings.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
configs/renesas_rcar.config

index d0a12f2..db5846e 100644 (file)
@@ -24,5 +24,6 @@ CONFIG_MTD=y
 CONFIG_OF_CONTROL=y
 CONFIG_RCAR_GPIO=y
 CONFIG_SCIF_CONSOLE=y
+CONFIG_SERIAL_RX_BUFFER=y
 CONFIG_SPI=y
 CONFIG_VERSION_VARIABLE=y