[U-Boot] [PATCH 2/4] serial: serial-uclass: Add generic serial RX buffer support

Simon Glass sjg at chromium.org
Sat Aug 26 13:40:34 UTC 2017


Hi Stefan,

On 16 August 2017 at 09:37, Stefan Roese <sr at denx.de> wrote:
> Pasting longer lines into the U-Boot console prompt sometimes leads to
> characters missing. One problem here is the small 16-byte FIFO of the
> legacy NS16550 UART, e.g. on x86 platforms.
>
> This patch now introduces a Kconfig option to enable RX buffer support
> for all DM based serial drivers. With this option enabled, I was
> able paste really long lines into the U-Boot console, without any
> characters missing.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  drivers/serial/Kconfig         | 15 +++++++++++++
>  drivers/serial/serial-uclass.c | 48 ++++++++++++++++++++++++++++++++++++++++--
>  include/serial.h               | 10 ++++++++-
>  3 files changed, 70 insertions(+), 3 deletions(-)
>

I have wanted this for a long time - this is a really great feature!

- Simon


More information about the U-Boot mailing list