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

Bin Meng bmeng.cn at gmail.com
Thu Aug 17 07:11:38 UTC 2017


On Wed, Aug 16, 2017 at 11:37 PM, 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(-)
>

Great!

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Tested on MinnowMax
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list