Skip to content
  • Stefan Roese's avatar
    serial: serial-uclass: Add generic serial RX buffer support · 3ca7a06a
    Stefan Roese authored and Bin Meng's avatar Bin Meng committed
    
    
    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: default avatarStefan Roese <sr@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Bin Meng <bmeng.cn@gmail.com>
    Cc: Tom Rini <trini@konsulko.com>
    Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    Tested-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    3ca7a06a