From 8894251de2588be9cd1f197900cc354b2708dfdc Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 13 Apr 2025 15:10:45 +0200 Subject: [PATCH] ARM: renesas: Enable serial RX buffer on Renesas R-Car 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 --- configs/renesas_rcar.config | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/renesas_rcar.config b/configs/renesas_rcar.config index d0a12f266aa..db5846e992c 100644 --- a/configs/renesas_rcar.config +++ b/configs/renesas_rcar.config @@ -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 -- 2.47.2