• S
    serial: ns16550: Add RX interrupt buffer support · 6822cf3e
    Stefan Roese 提交于
    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 interrupt
    buffer support for NS16550 style UARTs. With this option enabled, I was
    able paste really long lines into the U-Boot console, without any
    characters missing.
    Signed-off-by: NStefan Roese <sr@denx.de>
    Reviewed-by: NSimon Glass <sjg@chromium.org>
    Cc: Bin Meng <bmeng.cn@gmail.com>
    [trini: Guard ns16550_serial_remove with
    CONFIG_IS_ENABLED(SERIAL_PRESENT) to match struct assignment]
    Signed-off-by: NTom Rini <trini@konsulko.com>
    6822cf3e
Kconfig 18.3 KB